<?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 : Creating Groups manually</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Creating Groups manually]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 15 May 2026 17:24:46 +0000</pubDate>
  <lastBuildDate>Wed, 18 Jun 2008 02:01:33 +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=11077</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[Creating Groups manually :     Hiee!! Younicke!Yes I have...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11077&amp;PID=36895&amp;title=creating-groups-manually#36895</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3858">BoboP</a><br /><strong>Subject:</strong> 11077<br /><strong>Posted:</strong> 18 June 2008 at 2:01am<br /><br />   Hiee!! Younicke!<br><br>Yes I have downloaded the file. This sample seems really useful , It will be helpful for me . But I cant open solution file... I have visual studio 2005 with me , <br><br>For time being , regards toGetSetting:<br>I employed following approach.<br><br>I stored the&nbsp; profile string in registrywhile closing the form , Just retrieved it by reading the registry onform Shown event ... Used LoadSetting(string profile)..<br><br>I could do w/o GetSettings. <br>It worked <img src="http://forum.codejock.com/smileys/smiley1.gif" border="0" align="absmiddle">. <br>MANY THANKS, <br><br>]]>
   </description>
   <pubDate>Wed, 18 Jun 2008 02:01:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11077&amp;PID=36895&amp;title=creating-groups-manually#36895</guid>
  </item> 
  <item>
   <title><![CDATA[Creating Groups manually : great. that&amp;#039;s what ive been...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11077&amp;PID=36894&amp;title=creating-groups-manually#36894</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1038">younicke</a><br /><strong>Subject:</strong> 11077<br /><strong>Posted:</strong> 18 June 2008 at 1:52am<br /><br />great. that's what ive been trying to tell you... just save the profile to the registry and load it in the form event&nbsp;<img src="http://forum.codejock.com/smileys/smiley17.gif" border="0" align="absmiddle">]]>
   </description>
   <pubDate>Wed, 18 Jun 2008 01:52:12 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11077&amp;PID=36894&amp;title=creating-groups-manually#36894</guid>
  </item> 
  <item>
   <title><![CDATA[Creating Groups manually :   u didnt look closely on the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11077&amp;PID=36892&amp;title=creating-groups-manually#36892</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1038">younicke</a><br /><strong>Subject:</strong> 11077<br /><strong>Posted:</strong> 18 June 2008 at 1:43am<br /><br />u didnt look closely on the sample code that i posted. there is no ReportControl.GetSetting method that i wrote there.<br><br>i am attaching the report sample from the 11.2<br><br><a href="uploads/20080618_013930_ReportSample.zip" target="_blank">uploads/20080618_013930_ReportSample.zip</a><br><br>please note carefully:<br><br>i have comment out the lines in the Form_Load Event<br><br><b><font color="#ff0000">wndReportControl.GroupsOrder.Add <br>wndReportControl.GroupsOrder(0).SortAscending = True</font><br><br></b>and i have inserted some code in the last part of the Form_Load Event<br><br>&nbsp;&nbsp;&nbsp; <b>Dim sSettings As String<br>&nbsp;&nbsp;&nbsp; sSettings = GetSetting("CJReportSample", "Settings", "ReportSetting", "")<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; wndReportControl.LoadSettings sSettings</b><br><br>and also in the Form_Unload Event<br><br>&nbsp;&nbsp;&nbsp;<b> SaveSetting "CJReportSample", "Settings", "ReportSetting", wndReportControl.SaveSettings</b><br><br>please try to run the sample attached and give me feedback.<br><br>im sorry i dont know how to do it in C# as i dont have VS.net installed here. <br><br><br>]]>
   </description>
   <pubDate>Wed, 18 Jun 2008 01:43:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11077&amp;PID=36892&amp;title=creating-groups-manually#36892</guid>
  </item> 
  <item>
   <title><![CDATA[Creating Groups manually : hi ! Younicke!Thanks for replying....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11077&amp;PID=36890&amp;title=creating-groups-manually#36890</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3858">BoboP</a><br /><strong>Subject:</strong> 11077<br /><strong>Posted:</strong> 18 June 2008 at 1:15am<br /><br />hi ! Younicke!<br><br>Thanks for replying. I was happy as I thought&nbsp; This was the perfect solution.<br>Only In my case I am not finding ReportControl.Getsetting method.<br>I'm using C#. Will it make a difference there ?....<br><br>Also Codejock 11.2.** version...<br><br>Or else Can&nbsp; get the setting from registry myself.... By reading registry values n all.<br>Please let me know,<br>Thanks again... for such gr88 hint..<img src="http://forum.codejock.com/smileys/smiley10.gif" border="0" align="absmiddle"><br>]]>
   </description>
   <pubDate>Wed, 18 Jun 2008 01:15:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11077&amp;PID=36890&amp;title=creating-groups-manually#36890</guid>
  </item> 
  <item>
   <title><![CDATA[Creating Groups manually :    hi!you can try using the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11077&amp;PID=36867&amp;title=creating-groups-manually#36867</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1038">younicke</a><br /><strong>Subject:</strong> 11077<br /><strong>Posted:</strong> 17 June 2008 at 11:00am<br /><br />hi!<br><br>you can try using the LoadSettings and SaveSettings property of the reportcontrol.<br><br>Sample Code:<br><br>Private Sub Form_Load()<br><br>&nbsp;&nbsp;&nbsp; 'create report control here i.e. define columns and the content data<br>&nbsp;&nbsp;&nbsp; 'after you created the report control you can use the LoadSettings<br>&nbsp;&nbsp;&nbsp; 'property of the report control.<br><br>&nbsp;&nbsp;&nbsp; Dim sReportSetting as String<br>&nbsp;&nbsp;&nbsp; sReportSetting = <b>GetSetting(param1, param2, param3, param4)<br><br>&nbsp;&nbsp;&nbsp; rptControl.LoadSettings sReportSetting<br><br><br></b>End Sub<br><br><br>Private Sub Form_Unload(Cancel As Integer)<br><br>&nbsp;&nbsp;&nbsp; 'save the report settings here<br><b>&nbsp;&nbsp;&nbsp;&nbsp; SaveSetting param1, param2, param3, rptControl.SaveSettings<br></b>End Sub<br><br>fill up the required values for the param1-param4<br><br>here is the settings that is being saved in the registry<br><br><strong>Report Control:</strong>&nbsp; Column order, sort order, group order,&nbsp;column visibility, GroupBox visibility, Column Width, and Alignment.<br><br>hope this helps<br><br>]]>
   </description>
   <pubDate>Tue, 17 Jun 2008 11:00:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11077&amp;PID=36867&amp;title=creating-groups-manually#36867</guid>
  </item> 
  <item>
   <title><![CDATA[Creating Groups manually :  Hi !In my application , I needed...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11077&amp;PID=36865&amp;title=creating-groups-manually#36865</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3858">BoboP</a><br /><strong>Subject:</strong> 11077<br /><strong>Posted:</strong> 17 June 2008 at 10:45am<br /><br />Hi !<br>&nbsp;In my application , I needed to show records in report control in sorted and grouped way in same way it was at time application was exited. That is storing last sorted groups and showing them on starting the application.<br><br>So i can store column&nbsp; name on which it was grouped . But on loading of report control i needed to create the groups manually and not on column&nbsp; click<br><br>How can I do that?<br>I am using following statement . But it is throwing some exception<br><br>ReportControl.GroupsOrder.Add(ReportControl.Columns&#091;6&#093;) <br>Anyone can suggest anything?<br><br><img src="http://forum.codejock.com/smileys/smiley10.gif" border="0" align="absmiddle"><br>]]>
   </description>
   <pubDate>Tue, 17 Jun 2008 10:45:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11077&amp;PID=36865&amp;title=creating-groups-manually#36865</guid>
  </item> 
 </channel>
</rss>