<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Report Questi&#111;ns</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Suite Pro : Report Questi&#111;ns]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 27 May 2026 08:40:15 +0000</pubDate>
  <lastBuildDate>Thu, 05 Aug 2004 06:54:48 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=1020</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Report Questi&#111;ns :  I will attempt to answer 2.  You...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1020&amp;PID=2655&amp;title=report-questions#2655</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 1020<br /><strong>Posted:</strong> 05 August 2004 at 6:54am<br /><br />I will attempt to answer 2.<br><br>You can use the Tag property to assign a value or ID to each Record ifyou like.&nbsp; When adding items to a Record, you have to add theitems in the same order that the Columns were added, even if the columnis not visible, or the column order has changed, you still add theitems in the same order without skipping any.&nbsp; If the item isblank, then add a item with "" as a value.&nbsp; So that is how youknow which collumn the item is being added to. <br><br>For number one, if you take a look at the help file you will see thatit states how the columns use the Index and ItemIndex properties.&nbsp;I think you will find the ReportControl help more to your liking.&nbsp;I've read your other post regarding the help and I think theReportControl help is closer to what you would expect?<br> <span style="font-size:10px"><br /><br />Edited by SuperMario</span>]]>
   </description>
   <pubDate>Thu, 05 Aug 2004 06:54:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1020&amp;PID=2655&amp;title=report-questions#2655</guid>
  </item> 
  <item>
   <title><![CDATA[Report Questi&#111;ns : Hi Maui In response to your third...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1020&amp;PID=2654&amp;title=report-questions#2654</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=280">ianp</a><br /><strong>Subject:</strong> 1020<br /><strong>Posted:</strong> 05 August 2004 at 6:41am<br /><br /><P>Hi Maui</P><P>In response to your third question,&nbsp;the Report Control sample the following code will change value of the 4th item in the 3rd record. If you change the group, column or sort orders, then try the code again, the same item in the same record will be changed: </P><P><table width="99%"><tr><td><pre class="BBcode">With wndReportControl<BR>&nbsp; .Records(3).Item(4).Value = "Test"<BR>&nbsp; .Redraw&nbsp;&nbsp; 'possibly not required<BR>End with</pre></td></tr></table></P><P>I'm afraid I can't answer the first two questions for you, but remember, this is the first release of the control. The other controls were quickly added to and improved based on suggestions in the forums...</P><span style="font-size:10px"><br /><br />Edited by ianp</span>]]>
   </description>
   <pubDate>Thu, 05 Aug 2004 06:41:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1020&amp;PID=2654&amp;title=report-questions#2654</guid>
  </item> 
  <item>
   <title><![CDATA[Report Questi&#111;ns : I have some questions regarding...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=1020&amp;PID=2651&amp;title=report-questions#2651</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=566">Maui</a><br /><strong>Subject:</strong> 1020<br /><strong>Posted:</strong> 05 August 2004 at 6:06am<br /><br /><P>I have some questions regarding the ading and editing of cell data using the report control that I am hoping someone can help with.</P><P>In your other controls you have the theme of being able to create an item and assign it your own id so you later access it.<BR>eg with the Docking pane I have used&nbsp;code like this <BR>Public Const ID_PANE_MENU = 501<BR>Set A = .CreatePane(ID_PANE_MENU, 200, 120, DockLeftOf)</P><P>eg with the Control bars<BR>Public Const ID_FILE_OPEN = 101<BR>Set Control = .Add(xtpControlButton, ID_FILE_OPEN, "&amp;Open")</P><P>So, naturally when it came time to use the report control I assumed you would have the same theme and I put this code in my app to create some columns.</P><P>Public Const COLUMN_DATEISSUED = 101<BR>Set Column = .Columns.Add(COLUMN_DATEISSUED, "Date Issued", 180, True)</P><P>This works fine and I can see that .Columns.Find would work the same as your&nbsp;other controls but I am having trouble&nbsp;finding and editing cell data and I cant see how&nbsp;our&nbsp;user defined IDs can help.</P><P>My problem occured when I tried to add data to the report.<BR>I used this code and nothing happened.<BR>Set Item = Record.AddItem("Test")<BR>Grid1.Populate</P><P>I eventually&nbsp;found out that you arent free to define your own IDs. You have to make your column identifiers sequential and 0 based. eg I had to change <BR>Public Const COLUMN_DATEISSUED = 101<BR>to<BR>Public Const COLUMN_DATEISSUED = 0<BR>and&nbsp;I could add data to my grid.</P><P>This brings me to my questions:</P><P>1. Why has this methodology changed? We could have our own unique identifiers before, but now we have to have them 0 based. This isnt really that big a problem but&nbsp;it is different from all the other controls you do so I am wondering why?</P><P>2. If the AddItem method uses the current column Index rather than our own defined ID's then how do we know what column you are adding into? or rather ammending? Do we have to loop across columns to get to the item we want to add / ammend?&nbsp;The sample app doesnt really show this as it just&nbsp;creates Items and adds them in sequentially. It doesnt really show how its position is kept track of. Wouldnt it have&nbsp;been clearer to do it like this....<BR>Set Item = Record.AddItem("Test",COLUMN_DATEISSUED) ???<BR></P><P>3. Could you provide an example to show how to change the value in a cell please.</P><P>Thanks</P>]]>
   </description>
   <pubDate>Thu, 05 Aug 2004 06:06:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=1020&amp;PID=2651&amp;title=report-questions#2651</guid>
  </item> 
 </channel>
</rss>