<?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 : The current column on click?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : The current column on click?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 14 May 2026 18:44:34 +0000</pubDate>
  <lastBuildDate>Tue, 12 Jul 2011 12:34:15 +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=18642</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[The current column on click? :    Aaron wrote: Just add column...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18642&amp;PID=65229&amp;title=the-current-column-on-click#65229</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5633">g.novi</a><br /><strong>Subject:</strong> 18642<br /><strong>Posted:</strong> 12 July 2011 at 12:34pm<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by Aaron" alt="Originally posted by Aaron" style="vertical-align: text-bottom;" /> <strong>Aaron wrote:</strong><br /><br /><br><div>Just add column to SortOrder collection</div><div>&nbsp;</div><div>&nbsp;&nbsp;&nbsp; wndReportControl.SortOrder.DeleteAll <font color="#006600">'just in case you need total new sort<br></font>&nbsp;&nbsp;&nbsp; wndReportControl.SortOrder.Add Me.wndReportControl.Columns(0)<br>&nbsp;&nbsp;&nbsp; wndReportControl.Populate</div><div>&nbsp;</div><div>You can add as many columns as you need and will be sorted in the order you added them to SortOrder (see Help for SortOrder <img src="http://forum.codejock.com/smileys/smiley2.gif" height="17" width="17" border="0" alt="Wink" title="Wink" />)</div><div>&nbsp;</td></tr></table></div><div><br></div><div>OK! Thank You</div><div>Bye</div>]]>
   </description>
   <pubDate>Tue, 12 Jul 2011 12:34:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18642&amp;PID=65229&amp;title=the-current-column-on-click#65229</guid>
  </item> 
  <item>
   <title><![CDATA[The current column on click? :   g.novi wrote:Thank You for...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18642&amp;PID=65227&amp;title=the-current-column-on-click#65227</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 18642<br /><strong>Posted:</strong> 12 July 2011 at 12:13pm<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by g.novi" alt="Originally posted by g.novi" style="vertical-align: text-bottom;" /> <strong>g.novi wrote:</strong><br /><br /><FONT face="Arial, Helvetica, sans-serif" size=2 ="Apple-style-span">Thank You for your help!</FONT><DIV><SPAN style="LINE-HEIGHT: normal" ="Apple-style-span"><FONT face="Arial, Helvetica, sans-serif" size=2 ="Apple-style-span"><SPAN title="Fai clic per visualizzare le traduzi&#111;ni alternative" ="hps">How</SPAN>&nbsp;<SPAN title="Fai clic per visualizzare le traduzi&#111;ni alternative" ="hps">do I set</SPAN>&nbsp;<SPAN title="Fai clic per visualizzare le traduzi&#111;ni alternative" ="hps">the code</SPAN>&nbsp;<SPAN title="Fai clic per visualizzare le traduzi&#111;ni alternative" ="hps">through</SPAN>&nbsp;<SPAN title="Fai clic per visualizzare le traduzi&#111;ni alternative" ="hps">a sort column</SPAN><SPAN title="Fai clic per visualizzare le traduzi&#111;ni alternative" ="">?</SPAN></FONT></SPAN></DIV><DIV><SPAN style="LINE-HEIGHT: normal" ="Apple-style-span"><SPAN title="Fai clic per visualizzare le traduzi&#111;ni alternative" =""><FONT face="Arial, Helvetica, sans-serif" size=2 ="Apple-style-span">I try this but don't work:&nbsp;</FONT></SPAN></SPAN></DIV><DIV><SPAN style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px" ="Apple-style-span"><FONT face="Arial, Helvetica, sans-serif" size=2 ="Apple-style-span">wndReport.SortOrder(0).ItemIndex = 2</FONT></SPAN></DIV><DIV><SPAN style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px" ="Apple-style-span"><FONT face="Arial, Helvetica, sans-serif" size=2 ="Apple-style-span"><BR></FONT></SPAN></DIV><DIV><FONT face="Arial, Helvetica, sans-serif" size=2 ="Apple-style-span"><SPAN style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px" ="Apple-style-span">PS: sorry for the big font ... damn "Copy and Past"&nbsp;</SPAN><img src="http://forum.codejock.com/smileys/smiley9.gif" border="0" alt="Embarrassed" title="Embarrassed" /></FONT></DIV></td></tr></table> <DIV>&nbsp;</DIV><DIV>Hi,</DIV><DIV>&nbsp;</DIV><DIV>Just add column to SortOrder collection</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp; wndReportControl.SortOrder.DeleteAll <FONT color=#006600>'just in case you need total new sort<BR></FONT>&nbsp;&nbsp;&nbsp; wndReportControl.SortOrder.Add Me.wndReportControl.Columns(0)<BR>&nbsp;&nbsp;&nbsp; wndReportControl.Populate</DIV><DIV>&nbsp;</DIV><DIV>You can add as many columns as you need and will be sorted in the order you added them to SortOrder (see Help for SortOrder <img src="http://forum.codejock.com/smileys/smiley2.gif" height="17" width="17" border="0" alt="Wink" title="Wink" />)</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 12 Jul 2011 12:13:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18642&amp;PID=65227&amp;title=the-current-column-on-click#65227</guid>
  </item> 
  <item>
   <title><![CDATA[The current column on click? : Thank You for your help!Howdo...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18642&amp;PID=65226&amp;title=the-current-column-on-click#65226</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5633">g.novi</a><br /><strong>Subject:</strong> 18642<br /><strong>Posted:</strong> 12 July 2011 at 12:08pm<br /><br /><font ="Apple-style-span" face="Arial, Helvetica, sans-serif" size="2">Thank You for your help!</font><div><span ="Apple-style-span" style="line-height: normal; "><font ="Apple-style-span" face="Arial, Helvetica, sans-serif" size="2"><span ="hps" title="Fai clic per visualizzare le traduzi&#111;ni alternative">How</span>&nbsp;<span ="hps" title="Fai clic per visualizzare le traduzi&#111;ni alternative">do I set</span>&nbsp;<span ="hps" title="Fai clic per visualizzare le traduzi&#111;ni alternative">the code</span>&nbsp;<span ="hps" title="Fai clic per visualizzare le traduzi&#111;ni alternative">through</span>&nbsp;<span ="hps" title="Fai clic per visualizzare le traduzi&#111;ni alternative">a sort column</span><span title="Fai clic per visualizzare le traduzi&#111;ni alternative" ="">?</span></font></span></div><div><span ="Apple-style-span" style="line-height: normal; "><span title="Fai clic per visualizzare le traduzi&#111;ni alternative" =""><font ="Apple-style-span" face="Arial, Helvetica, sans-serif" size="2">I try this but don't work:&nbsp;</font></span></span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; "><font ="Apple-style-span" face="Arial, Helvetica, sans-serif" size="2">wndReport.SortOrder(0).ItemIndex = 2</font></span></div><div><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; "><font ="Apple-style-span" face="Arial, Helvetica, sans-serif" size="2"><br></font></span></div><div><font ="Apple-style-span" face="Arial, Helvetica, sans-serif" size="2"><span ="Apple-style-span" style="-webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">PS: sorry for the big font ... damn "Copy and Past"&nbsp;</span><img src="http://forum.codejock.com/smileys/smiley9.gif" border="0" alt="Embarrassed" title="Embarrassed" /></font></div>]]>
   </description>
   <pubDate>Tue, 12 Jul 2011 12:08:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18642&amp;PID=65226&amp;title=the-current-column-on-click#65226</guid>
  </item> 
  <item>
   <title><![CDATA[The current column on click? :    jpbro wrote:Does the FocusedColumn...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18642&amp;PID=65224&amp;title=the-current-column-on-click#65224</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5633">g.novi</a><br /><strong>Subject:</strong> 18642<br /><strong>Posted:</strong> 12 July 2011 at 12:00pm<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by jpbro" alt="Originally posted by jpbro" style="vertical-align: text-bottom;" /> <strong>jpbro wrote:</strong><br /><br />Does the FocusedColumn property provide the information you need?</td></tr></table><div><br></div><div>Hi,</div><div><span ="Apple-style-span" style="font-family: arial, sans-serif; line-height: normal; "><font ="Apple-style-span" size="3"><span ="hps" title="Fai clic per visualizzare le traduzi&#111;ni alternative">unfortunately the property</span>&nbsp;<span ="hps" title="Fai clic per visualizzare le traduzi&#111;ni alternative">does not return</span>&nbsp;<span ="hps" title="Fai clic per visualizzare le traduzi&#111;ni alternative">the "SortOrder" column.</span></font></span></div>]]>
   </description>
   <pubDate>Tue, 12 Jul 2011 12:00:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18642&amp;PID=65224&amp;title=the-current-column-on-click#65224</guid>
  </item> 
  <item>
   <title><![CDATA[The current column on click? : Hi,   If you have just one sorted...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18642&amp;PID=65223&amp;title=the-current-column-on-click#65223</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 18642<br /><strong>Posted:</strong> 12 July 2011 at 11:32am<br /><br />Hi, <DIV>&nbsp;</DIV><DIV>If you have just one sorted column at a time, SortOrder collection contains sorted columns by code or user clicked <U>column</U> (<U>in this case index=0</U>)</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV><FONT color=#0000ff>Private Sub </FONT>wndReport_SortOrderChanged()<BR>&nbsp;&nbsp;&nbsp; <FONT color=#0000ff>Debug.Print </FONT>Me.wndReport.SortOrder(0).ItemIndex&nbsp;<FONT color=#006600>'column index (meaning the ''original" index when you added it not the index in current view!!!)<BR></FONT><FONT color=#0000ff>End Sub</FONT></DIV><DIV><FONT color=#0000ff></FONT>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>btw I maybe a little older but you can use a smaller font, I can still read it <img src="http://forum.codejock.com/smileys/smiley36.gif" height="17" width="17" border="0" alt="LOL" title="LOL" /></DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 12 Jul 2011 11:32:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18642&amp;PID=65223&amp;title=the-current-column-on-click#65223</guid>
  </item> 
  <item>
   <title><![CDATA[The current column on click? : Does the FocusedColumn property...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18642&amp;PID=65222&amp;title=the-current-column-on-click#65222</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 18642<br /><strong>Posted:</strong> 12 July 2011 at 11:28am<br /><br />Does the FocusedColumn property provide the information you need?]]>
   </description>
   <pubDate>Tue, 12 Jul 2011 11:28:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18642&amp;PID=65222&amp;title=the-current-column-on-click#65222</guid>
  </item> 
  <item>
   <title><![CDATA[The current column on click? : Help!I&amp;#039;m stuckfor this problem!Any...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18642&amp;PID=65220&amp;title=the-current-column-on-click#65220</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5633">g.novi</a><br /><strong>Subject:</strong> 18642<br /><strong>Posted:</strong> 12 July 2011 at 10:28am<br /><br /><span ="Apple-style-span" style="font-family: arial, sans-serif; font-size: 24px; line-height: normal; "><span ="hps" title="Fai clic per visualizzare le traduzi&#111;ni alternative">Help!</span>&nbsp;<span ="hps" title="Fai clic per visualizzare le traduzi&#111;ni alternative">I'm stuck</span>&nbsp;<span ="hps" title="Fai clic per visualizzare le traduzi&#111;ni alternative">for this problem!&nbsp;<img src="http://forum.codejock.com/smileys/smiley19.gif" border="0" alt="Cry" title="Cry" /></span></span><div><span ="Apple-style-span" style="font-family: arial, sans-serif; font-size: 24px; line-height: normal; "><span ="hps" title="Fai clic per visualizzare le traduzi&#111;ni alternative">Any solution</span><span title="Fai clic per visualizzare le traduzi&#111;ni alternative" ="">?</span></span></div><div><span ="Apple-style-span" style="font-family: arial, sans-serif; font-size: 24px; line-height: normal; "><span title="Fai clic per visualizzare le traduzi&#111;ni alternative" ="">Thank's</span></span></div>]]>
   </description>
   <pubDate>Tue, 12 Jul 2011 10:28:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18642&amp;PID=65220&amp;title=the-current-column-on-click#65220</guid>
  </item> 
  <item>
   <title><![CDATA[The current column on click? : Hi,Howdo I knowthe current columnwhen...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18642&amp;PID=65189&amp;title=the-current-column-on-click#65189</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5633">g.novi</a><br /><strong>Subject:</strong> 18642<br /><strong>Posted:</strong> 11 July 2011 at 5:01am<br /><br /><span ="Apple-style-span" style="font-family: arial, sans-serif; font-size: 24px; line-height: normal; "><span ="hps" title="Fai clic per visualizzare le traduzi&#111;ni alternative"><div><span ="Apple-style-span" style="font-family: arial, sans-serif; font-size: 24px; line-height: normal; "><span ="hps" title="Fai clic per visualizzare le traduzi&#111;ni alternative">Hi,</span></span></div>How</span>&nbsp;<span ="hps" title="Fai clic per visualizzare le traduzi&#111;ni alternative">do I know</span>&nbsp;<span ="hps" title="Fai clic per visualizzare le traduzi&#111;ni alternative">the current column</span>&nbsp;<span ="hps" title="Fai clic per visualizzare le traduzi&#111;ni alternative">when I</span>&nbsp;<span ="hps" title="Fai clic per visualizzare le traduzi&#111;ni alternative">click on the Report Control</span></span><span ="Apple-style-span" style="font-family: arial, sans-serif; font-size: 24px; line-height: normal; "><span title="Fai clic per visualizzare le traduzi&#111;ni alternative" ="">?</span></span><div><span ="Apple-style-span" style="font-family: arial, sans-serif; font-size: 24px; line-height: normal; "><span ="hps" title="Fai clic per visualizzare le traduzi&#111;ni alternative">I would</span>&nbsp;<span ="hps" title="Fai clic per visualizzare le traduzi&#111;ni alternative">know</span>&nbsp;<span ="hps" title="Fai clic per visualizzare le traduzi&#111;ni alternative">exactly</span>&nbsp;<span ="hps" title="Fai clic per visualizzare le traduzi&#111;ni alternative">on "</span></span><span ="Apple-style-span" style="font-family: arial, sans-serif; font-size: 24px; line-height: normal; ">SortOrderChanged" event.</span></div><div><span ="Apple-style-span" style="font-family: arial, sans-serif; font-size: 24px; line-height: normal; ">Thank's to all</span></div><div><font ="Apple-style-span" face="arial, sans-serif" size="5"><span ="Apple-style-span" style="line-height: normal;"><br></span></font></div>]]>
   </description>
   <pubDate>Mon, 11 Jul 2011 05:01:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18642&amp;PID=65189&amp;title=the-current-column-on-click#65189</guid>
  </item> 
 </channel>
</rss>