<?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 Control displays blank lines....</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Report Control displays blank lines....]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 15 May 2026 07:11:03 +0000</pubDate>
  <lastBuildDate>Fri, 18 Sep 2009 20:14:09 +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=15209</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 Control displays blank lines.... : The ItemIndex parameter of the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15209&amp;PID=53250&amp;title=report-control-displays-blank-lines#53250</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 15209<br /><strong>Posted:</strong> 18 September 2009 at 8:14pm<br /><br />The ItemIndex parameter of the .Columns.Add method must be a sequential number starting from 0. Why we need to provide a sequential number starting from zero is anybodies guess, but that's just the way it is. I recommend doing something like:<br><br><table width="99%"><tr><td><pre class="BBcode"><br>axReportControl1.Columns.Add(axReportControl1.Columns.Count, "First", 200, True);<br>axReportControl1.Columns.Add(axReportControl1.Columns.Count, "Last", 300, True);<br></pre></td></tr></table><br><br>And it should work.<br>]]>
   </description>
   <pubDate>Fri, 18 Sep 2009 20:14:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15209&amp;PID=53250&amp;title=report-control-displays-blank-lines#53250</guid>
  </item> 
  <item>
   <title><![CDATA[Report Control displays blank lines.... : Not sure why. It adds the rows,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15209&amp;PID=53249&amp;title=report-control-displays-blank-lines#53249</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=374">ddlittle</a><br /><strong>Subject:</strong> 15209<br /><strong>Posted:</strong> 18 September 2009 at 7:34pm<br /><br />Not sure why.&nbsp; It adds the rows, but nothing in them...<DIV>&nbsp;</DIV><DIV>I tried to set the font to bold and strikethrough, but no luck.&nbsp; the reportsample for C# works perfectly, and I can't see any differences that would matter.</DIV><DIV>Any ideas?</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Here's the code:</DIV><DIV>&nbsp;</DIV><DIV><P><FONT size=2><FONT face="Courier New, Courier, mono"><FONT color=#020002><FONT color=#020002>axReportControl1</FONT></FONT>.<FONT color=#020002><FONT color=#020002>Columns</FONT></FONT>.<FONT color=#020002><FONT color=#020002>Add</FONT></FONT>(1000, <FONT color=#a31515><FONT color=#a31515>"First"</FONT></FONT>, 200, <FONT color=#0000ff><FONT color=#0000ff>true</FONT></FONT></FONT><FONT face="Courier New, Courier, mono">);</FONT></FONT></P><P><FONT face="Courier New, Courier, mono"><FONT size=2><FONT color=#020002><FONT color=#020002>axReportControl1</FONT></FONT>.<FONT color=#020002><FONT color=#020002>Columns</FONT></FONT>.<FONT color=#020002><FONT color=#020002>Add</FONT></FONT>(1001, <FONT color=#a31515><FONT color=#a31515>"Last"</FONT></FONT>, 300, <FONT color=#0000ff><FONT color=#0000ff>true</FONT></FONT>);</FONT></P></FONT></DIV><DIV><P><FONT size=2><FONT face="Courier New, Courier, mono"><FONT color=#2b91af><FONT color=#2b91af>ReportRecord</FONT></FONT> <FONT color=#020002><FONT color=#020002>rec2</FONT></FONT></FONT><FONT face="Courier New, Courier, mono">;</P><DIV>R</FONT></FONT><FONT size=2><FONT face="Courier New, Courier, mono"><FONT color=#2b91af><FONT color=#2b91af>eportRecordItem</FONT></FONT> <FONT color=#020002><FONT color=#020002>item2</FONT></FONT></FONT><FONT face="Courier New, Courier, mono">;</FONT></FONT></DIV><P><FONT size=2><FONT face="Courier New, Courier, mono"><FONT color=#020002><FONT color=#020002>stdole</FONT></FONT>.<FONT color=#2b91af><FONT color=#2b91af>StdFont</FONT></FONT> <FONT color=#020002><FONT color=#020002>fntStrike</FONT></FONT></FONT><FONT face="Courier New, Courier, mono">;</FONT></FONT></P><P><FONT size=2><FONT face="Courier New, Courier, mono"><FONT color=#020002><FONT color=#020002>rec2</FONT></FONT> = <FONT color=#0000ff><FONT color=#0000ff>new</FONT></FONT> <FONT color=#2b91af><FONT color=#2b91af>ReportRecord</FONT></FONT></FONT><FONT face="Courier New, Courier, mono">(); </FONT></FONT></P><P><FONT size=2><FONT face="Courier New, Courier, mono"><FONT color=#020002><FONT color=#020002>rec2</FONT></FONT>.<FONT color=#020002><FONT color=#020002>AddItem</FONT></FONT>(<FONT color=#a31515><FONT color=#a31515>"Santa"</FONT></FONT></FONT><FONT face="Courier New, Courier, mono">);</FONT></FONT></P><P><FONT size=2><FONT face="Courier New, Courier, mono"><FONT color=#020002><FONT color=#020002>rec2</FONT></FONT>.<FONT color=#020002><FONT color=#020002>AddItem</FONT></FONT>(<FONT color=#a31515><FONT color=#a31515>"Claus"</FONT></FONT></FONT><FONT face="Courier New, Courier, mono">);</FONT></FONT></P><P><FONT size=2><FONT face="Courier New, Courier, mono"><FONT color=#020002><FONT color=#020002>axReportControl1</FONT></FONT>.<FONT color=#020002><FONT color=#020002>AddRecordEx</FONT></FONT>(<FONT color=#020002><FONT color=#020002>rec2</FONT></FONT></FONT><FONT face="Courier New, Courier, mono">);</FONT></FONT></P><P><FONT size=2><FONT face="Courier New, Courier, mono"><FONT color=#020002><FONT color=#020002>fntStrike</FONT></FONT> = <FONT color=#020002><FONT color=#020002>axReportControl1</FONT></FONT>.<FONT color=#020002><FONT color=#020002>PaintManager</FONT></FONT>.<FONT color=#020002><FONT color=#020002>TextFont</FONT></FONT></FONT><FONT face="Courier New, Courier, mono">;</FONT></FONT></P><P><FONT size=2><FONT face="Courier New, Courier, mono"><FONT color=#020002><FONT color=#020002>fntStrike</FONT></FONT>.<FONT color=#020002><FONT color=#020002>Strikethrough</FONT></FONT> = <FONT color=#0000ff><FONT color=#0000ff>true</FONT></FONT></FONT><FONT face="Courier New, Courier, mono">;</FONT></FONT></P><P><FONT size=2><FONT face="Courier New, Courier, mono"><FONT color=#020002><FONT color=#020002>fntStrike</FONT></FONT>.<FONT color=#020002><FONT color=#020002>Bold</FONT></FONT> = <FONT color=#0000ff><FONT color=#0000ff>true</FONT></FONT></FONT><FONT face="Courier New, Courier, mono">;</FONT></FONT></P><P><FONT face="Courier New, Courier, mono"><FONT size=2><FONT color=#020002><FONT color=#020002>axReportControl1</FONT></FONT>.<FONT color=#020002><FONT color=#020002>Populate</FONT></FONT>();</P><DIV></DIV><FONT color=#cc0033 size=4 face="Arial, Helvetica, sans-serif">Thanks!</FONT><DIV></DIV></FONT><FONT color=#cc0033 size=4 face="Arial, Helvetica, sans-serif">- David</FONT></FONT></DIV>]]>
   </description>
   <pubDate>Fri, 18 Sep 2009 19:34:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15209&amp;PID=53249&amp;title=report-control-displays-blank-lines#53249</guid>
  </item> 
 </channel>
</rss>