<?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 : [SOLVED] Export not possible if using EditOptions!</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : [SOLVED] Export not possible if using EditOptions!]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 14 May 2026 21:07:56 +0000</pubDate>
  <lastBuildDate>Thu, 17 Mar 2011 11:45:04 +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=18049</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[[SOLVED] Export not possible if using EditOptions! : Fixed for 15.0.3  ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18049&amp;PID=63373&amp;title=solved-export-not-possible-if-using-editoptions#63373</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1755">ABuenger</a><br /><strong>Subject:</strong> 18049<br /><strong>Posted:</strong> 17 March 2011 at 11:45am<br /><br />Fixed for 15.0.3<br><br>]]>
   </description>
   <pubDate>Thu, 17 Mar 2011 11:45:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18049&amp;PID=63373&amp;title=solved-export-not-possible-if-using-editoptions#63373</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Export not possible if using EditOptions! : Hi,this is indeed a bug in 15.0.2....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18049&amp;PID=63355&amp;title=solved-export-not-possible-if-using-editoptions#63355</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1755">ABuenger</a><br /><strong>Subject:</strong> 18049<br /><strong>Posted:</strong> 16 March 2011 at 8:46pm<br /><br />Hi,<br><br>this is indeed a bug in 15.0.2. A fix will be available shortly. As a workaround you can add the constraints to each item instead of the column.<br><br>Andre<br><br>]]>
   </description>
   <pubDate>Wed, 16 Mar 2011 20:46:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18049&amp;PID=63355&amp;title=solved-export-not-possible-if-using-editoptions#63355</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Export not possible if using EditOptions! : Hi, You are right, I wanted to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18049&amp;PID=63320&amp;title=solved-export-not-possible-if-using-editoptions#63320</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 18049<br /><strong>Posted:</strong> 15 March 2011 at 7:12am<br /><br /><P>Hi,</P><P>You are right, I wanted to see both columns and assigned smaller values for the columns.</P><P>You have constraints with data=5 &amp; data=8 , is that for a special reason? If not following code could be reduced to a single line (without looping constraints) I created two loops for showing what you could do...</P><DIV>Private Sub cmdTest_Click()<BR>&nbsp;&nbsp;&nbsp; Dim Row As ReportRow, c As Long<BR>&nbsp;&nbsp;&nbsp; lstCaptions.Clear<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; Dim constraintIndexFirst As Long<BR>&nbsp;&nbsp;&nbsp; Dim constraintIndexSecond As Long<BR>&nbsp;&nbsp;&nbsp; Dim i As Long<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; With ReportControl1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; For Each Row In .Rows<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; For i = 0 To .Columns(0).EditOptions.Constraints.Count - 1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If .Columns(0).EditOptions.Constraints(i).Data = Row.Record(0).Value Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; constraintIndexFirst = i<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Exit For<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Next i<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; For i = 0 To .Columns(1).EditOptions.Constraints.Count - 1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If .Columns(1).EditOptions.Constraints(i).Data = Row.Record(1).Value Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; constraintIndexSecond = i<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Exit For<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Next i<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lstCaptions.AddItem .Columns(0).EditOptions.Constraints(constraintIndexFirst).Caption &amp; " / " &amp; .Columns(1).EditOptions.Constraints(constraintIndexSecond).Caption<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Next<BR>&nbsp;&nbsp;&nbsp; End With<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>End Sub</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>If you are able to change the data of constraints into 0 &amp; 1 for both columns</DIV><DIV>&nbsp;</DIV><DIV>Private Sub cmdTest_Click()<BR>&nbsp;&nbsp;&nbsp; Dim Row As ReportRow, c As Long<BR>&nbsp;&nbsp;&nbsp; lstCaptions.Clear<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp; With ReportControl1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; For Each Row In .Rows<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; lstCaptions.AddItem .Columns(0).EditOptions.Constraints(<strong>Row.Record(0).Value</strong>).Caption &amp; " / " &amp; .Columns(1).EditOptions.Constraints(<strong>Row.Record(1).Value</strong>).Caption<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Next<BR>&nbsp;&nbsp;&nbsp; End With<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>End Sub</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>But on the otherhand you could add ReportItems with the selected constraint as caption:</DIV><DIV>&nbsp;</DIV><DIV>For i = 0 To 20<BR>&nbsp;&nbsp;&nbsp; Set rec = ReportControl1.Records.Add()<BR>&nbsp;&nbsp;&nbsp; Select Case i<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Case Is &lt; 4<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong>With rec.AddItem(0)&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Caption = Me.ReportControl1.Columns(0).EditOptions.Constraints(.Value).Caption<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End With</strong></DIV><DIV>&nbsp;</DIV><DIV>....</DIV><DIV>....</DIV><DIV>&nbsp;</DIV><DIV>In this case&nbsp;you could use your original code cmdTest_Click() because you already added captions to the ReportItem</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Well to be honest I prefer adding the captions&nbsp;to the ReportItems in advance option, so you don't have to worry about the rest.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Good luck <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>]]>
   </description>
   <pubDate>Tue, 15 Mar 2011 07:12:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18049&amp;PID=63320&amp;title=solved-export-not-possible-if-using-editoptions#63320</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Export not possible if using EditOptions! :  Oh sorry Aaron. But your Workaround...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18049&amp;PID=63317&amp;title=solved-export-not-possible-if-using-editoptions#63317</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1570">Jebo</a><br /><strong>Subject:</strong> 18049<br /><strong>Posted:</strong> 15 March 2011 at 5:04am<br /><br />Oh sorry Aaron. But your Workaround does <b>NOT</b> work! <img src="http://forum.codejock.com/smileys/smiley5.gif" border="0" alt="C&#111;nfused" title="C&#111;nfused" /><br><br>Please see the right side (scroll to right in the ReportControl) in my example. Before you scroll there are still only numbers in the ListBox! <img src="http://forum.codejock.com/smileys/smiley19.gif" border="0" alt="Cry" title="Cry" /><br><br>]]>
   </description>
   <pubDate>Tue, 15 Mar 2011 05:04:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18049&amp;PID=63317&amp;title=solved-export-not-possible-if-using-editoptions#63317</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Export not possible if using EditOptions! : Hooo, your Workaround works, but...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18049&amp;PID=63315&amp;title=solved-export-not-possible-if-using-editoptions#63315</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1570">Jebo</a><br /><strong>Subject:</strong> 18049<br /><strong>Posted:</strong> 15 March 2011 at 4:23am<br /><br />Hooo, your Workaround works, but maks my export very slow. <img src="http://forum.codejock.com/smileys/smiley8.gif" border="0" alt="Clown" title="Clown" /><br>But it's better than nothing!<br><br>I've opend a support-ticket now and hope CJ will fix this bug in 15.0.3.<br><br>Thank you! <img src="http://forum.codejock.com/smileys/smiley1.gif" border="0" alt="Smile" title="Smile" /><br><br>]]>
   </description>
   <pubDate>Tue, 15 Mar 2011 04:23:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18049&amp;PID=63315&amp;title=solved-export-not-possible-if-using-editoptions#63315</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Export not possible if using EditOptions! : Hi, I can confirm this is a bug....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18049&amp;PID=63304&amp;title=solved-export-not-possible-if-using-editoptions#63304</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 18049<br /><strong>Posted:</strong> 14 March 2011 at 3:02pm<br /><br /><P>Hi,</P><P>I can confirm this is a bug. Strange that only visible items are processed.</P><P>Fix: <strong>submit issue</strong></P><DIV>Workaround: <strong>See extra code below</strong> </DIV><DIV>&nbsp;</DIV><DIV><FONT color=#666666>Private Sub cmdTest_Click()<BR>&nbsp;&nbsp;&nbsp; Dim Row As ReportRow, c As Long<BR>&nbsp;&nbsp;&nbsp; lstCaptions.Clear<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; With ReportControl1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; For Each Row In .Rows<BR></FONT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong>Row.EnsureVisible<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DoEvents<BR></strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<FONT color=#666666> lstCaptions.AddItem Row.Record(0).Caption &amp; " / " &amp; Row.Record(1).Caption<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Next<BR>&nbsp;&nbsp;&nbsp; End With<BR>End Sub</FONT></DIV><DIV><FONT color=#666666></FONT>&nbsp;</DIV><DIV><FONT color=#000000>Good luck, again!</FONT></DIV><DIV><FONT color=#666666></FONT>&nbsp;</DIV><DIV><FONT color=#666666></FONT>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 14 Mar 2011 15:02:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18049&amp;PID=63304&amp;title=solved-export-not-possible-if-using-editoptions#63304</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] Export not possible if using EditOptions! :  Hello CJ-Team,if the ReportControl...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18049&amp;PID=63286&amp;title=solved-export-not-possible-if-using-editoptions#63286</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1570">Jebo</a><br /><strong>Subject:</strong> 18049<br /><strong>Posted:</strong> 13 March 2011 at 3:22pm<br /><br />Hello CJ-Team,<br><br>if the ReportControl uses "Constraints", it seems to be not possible to read the Captions! <img src="http://forum.codejock.com/smileys/smiley18.gif" border="0" alt="Ouch" title="Ouch" /><br><br>Please see the attached sample-code for a better understanding.<br><br>&nbsp; &gt;&gt;&gt; <a href="uploads/1570/ReportC&#111;ntrol_EditOpti&#111;ns.zip" target="_blank">uploads/1570/ReportControl_EditOptions.zip</a><br><br>Please, is there a workaround or fix available - or do I something wrong?<br><br>]]>
   </description>
   <pubDate>Sun, 13 Mar 2011 15:22:57 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18049&amp;PID=63286&amp;title=solved-export-not-possible-if-using-editoptions#63286</guid>
  </item> 
 </channel>
</rss>