<?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 : ComMergeItems in ReportControl</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : ComMergeItems in ReportControl]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 02 May 2026 00:17:36 +0000</pubDate>
  <lastBuildDate>Fri, 24 Mar 2017 08:27:14 +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=23291</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[ComMergeItems in ReportControl : arguments are indexes ofrowsandcolumns.Public...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23291&amp;PID=75652&amp;title=commergeitems-in-reportcontrol#75652</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 23291<br /><strong>Posted:</strong> 24 March 2017 at 8:27am<br /><br />arguments are indexes of&nbsp;<span style="line-height: 16.8px;">rows</span>&nbsp;and&nbsp;<span style="line-height: 16.8px;">columns</span>.&nbsp;<br><pre lang="VB" ="syntax"="" style=": rgb248, 248, 252;"><font color="#000099"><b>Public Sub MergeItems( ByVal RecordFrom As Long, ByVal RecordTo As Long, ByVal ColumnFrom As Long, ByVal ColumnTo As Long )</b></font><span style="font-family: Verdana, Arial, Helvetica, sans-serif; line-height: 16.8px; white-space: normal;"><br>Method MergeItems doesn't check are input indexes correct. You should check it before call&nbsp;</span><span style="font-family: Verdana, Arial, Helvetica, sans-serif; line-height: 16.8px; white-space: normal;">MergeItems()</span></pre>]]>
   </description>
   <pubDate>Fri, 24 Mar 2017 08:27:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23291&amp;PID=75652&amp;title=commergeitems-in-reportcontrol#75652</guid>
  </item> 
  <item>
   <title><![CDATA[ComMergeItems in ReportControl : Thank you for the feedback. Apologies...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23291&amp;PID=75650&amp;title=commergeitems-in-reportcontrol#75650</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6504">Andy121070</a><br /><strong>Subject:</strong> 23291<br /><strong>Posted:</strong> 24 March 2017 at 7:44am<br /><br />Thank you for the feedback. &nbsp;Apologies for the wrong forum, again!!!<div><br></div><div>We have tried to use the commands as you show in your example above, but our application blows up when we do the MergeItems call.</div><div><br></div><div>What are the arguments relating to? &nbsp;Objects, Columns, Pointers, etc?</div><div><br></div><div>This may be a stupid question but whatever we use it goes bang.</div>]]>
   </description>
   <pubDate>Fri, 24 Mar 2017 07:44:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23291&amp;PID=75650&amp;title=commergeitems-in-reportcontrol#75650</guid>
  </item> 
  <item>
   <title><![CDATA[ComMergeItems in ReportControl : Hello Andy,You again start topic...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23291&amp;PID=75649&amp;title=commergeitems-in-reportcontrol#75649</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 23291<br /><strong>Posted:</strong> 24 March 2017 at 5:39am<br /><br />Hello Andy,<br><br>You again start topic about ActiveX &nbsp;in MFC branch :-)<br><br>you can find documentation abour MergeItems method in&nbsp;<br>c:\Program Files (x86)\Codejock Software\ActiveX\Xtreme SuitePro ActiveX v17.3.0\Help\SymbolReference.chm<br><br><h1 ="dxh1"><font color="#000099">MergeItems Method</font></h1><h4 ="dxh4"><font color="#000099">Description</font></h4><p><font color="#000099">Merges 2 or more items in the report.</font></p><!--DX end --><!--DX start ="Syntax" lang="VB" at="<div =Specific Name=Syntax_VB><h4 =dxh4>$$Syntax$$</h4><p>%%Syntax%%</p></div>" --><div ="Specific" name="Syntax_VB"><h4 ="dxh4"><font color="#000099">Syntax</font></h4><p></p><pre lang="VB" ="syntax"><font color="#000099"><strong>Public Sub MergeItems</strong>( _&nbsp;&nbsp;&nbsp;<strong>ByVal </strong><i><a href="mk:@MSITStore:C:%5CProgram%20Files%20%28x86%29%5CCodejock%20Software%5CActiveX%5CXtreme%20SuitePro%20ActiveX%20v17.3.0%5CHelp%5CSymbolReference.chm::/XtremeReportC&#111;ntrol~ReportRecords~MergeItems.html#" target="_blank" rel="nofollow">RecordFrom</a></i> <strong>As</strong> <b>Long</b>, _&nbsp;&nbsp;&nbsp;<strong>ByVal </strong><i><a href="mk:@MSITStore:C:%5CProgram%20Files%20%28x86%29%5CCodejock%20Software%5CActiveX%5CXtreme%20SuitePro%20ActiveX%20v17.3.0%5CHelp%5CSymbolReference.chm::/XtremeReportC&#111;ntrol~ReportRecords~MergeItems.html#" target="_blank" rel="nofollow">RecordTo</a></i> <strong>As</strong> <b>Long</b>, _&nbsp;&nbsp;&nbsp;<strong>ByVal </strong><i><a href="mk:@MSITStore:C:%5CProgram%20Files%20%28x86%29%5CCodejock%20Software%5CActiveX%5CXtreme%20SuitePro%20ActiveX%20v17.3.0%5CHelp%5CSymbolReference.chm::/XtremeReportC&#111;ntrol~ReportRecords~MergeItems.html#" target="_blank" rel="nofollow">ColumnFrom</a></i> <strong>As</strong> <b>Long</b>, _&nbsp;&nbsp;&nbsp;<strong>ByVal </strong><i><a href="mk:@MSITStore:C:%5CProgram%20Files%20%28x86%29%5CCodejock%20Software%5CActiveX%5CXtreme%20SuitePro%20ActiveX%20v17.3.0%5CHelp%5CSymbolReference.chm::/XtremeReportC&#111;ntrol~ReportRecords~MergeItems.html#" target="_blank" rel="nofollow">ColumnTo</a></i> <strong>As</strong> <b>Long</b> _)<strong> </strong></font></pre><p></p></div><!--DX end --><!--DXMETADATA start type="FilteredItemList" scrap="PARAMETERS_LIST" namespace="parameter" source="Item" filter="" format="<h4 =dxh4>$$ParameterList$$</h4>%%filtereditemlist%%" --><h4 ="dxh4"><font color="#000099">Parameters</font></h4><dl><dt><font color="#000099"><i>RecordFrom</i> </font></dt><dd><font color="#000099">Index of the record to start the merge.&nbsp; Will be the same as <strong>RecordTo</strong> if merging cells horizontally. </font></dd><dt><font color="#000099"><i>RecordTo</i> </font></dt><dd><font color="#000099">Index of the record to&nbsp;end the merge. Will be the same as <strong>RecordFrom</strong> if merging cells horizontally. </font></dd><dt><font color="#000099"><i>ColumnFrom</i> </font></dt><dd><font color="#000099">Index of the&nbsp;column to start the merge.&nbsp; Will be the same as <strong>ColumnTo</strong> if merging cells vertically. </font></dd><dt><font color="#000099"><i>ColumnTo</i> </font></dt><dd><font color="#000099">Index of the&nbsp;column to&nbsp;end the merge. Will be the same as <strong>ColumnFrom</strong> if merging cells vertically. </font></dd></dl><!--DX end --><!--DXMETADATA start type="TaggedComment" source="Item" id="##RETURNS" format="<h4 =dxh4>$$Return_Type$$</h4><p>%%comment%%</p>" --><!--DX end --><!--DXMETADATA start type="TaggedComment" source="Item" id="##REMARKS" format="<h4 =dxh4>$$Remarks$$</h4><p>%%comment%%</p>" --><h4 ="dxh4"><font color="#000099">Remarks</font></h4><p></p><p><font color="#000099"><strong>MergeItems</strong> allows cells in the report to be merged both vertically and horizontally. &nbsp;</font><br><br>example in&nbsp;c:\Program Files (x86)\Codejock Software\ActiveX\Xtreme SuitePro ActiveX v17.3.0\Samples\ReportControl\VB\ReportSample\Merge.frm <table width="99%"><tr><td><pre class="BBcode">&nbsp; &nbsp; wndReportControl.PaintManager.AllowMergeCells = True<br><span style="line-height: 1.4;">&nbsp; &nbsp; wndReportControl.Records.MergeItems 0, 0, COLUMN_VS6, COLUMN_VS2010</span><span style="line-height: 1.4;"></pre></td></tr></table></span></p><p>Example of TreeView in ReportControl you can see in the same&nbsp;<span style="line-height: 16.8px;">ReportSample -</span><span style="line-height: 1.4;">&nbsp;frmTreeView.frm</span></p><p>Regards,<br>&nbsp;Oleksandr Lebed</p>]]>
   </description>
   <pubDate>Fri, 24 Mar 2017 05:39:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23291&amp;PID=75649&amp;title=commergeitems-in-reportcontrol#75649</guid>
  </item> 
  <item>
   <title><![CDATA[ComMergeItems in ReportControl : We are trying to create a tree...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23291&amp;PID=75645&amp;title=commergeitems-in-reportcontrol#75645</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6504">Andy121070</a><br /><strong>Subject:</strong> 23291<br /><strong>Posted:</strong> 22 March 2017 at 1:53pm<br /><br />We are trying to create a tree list in the report control which contains 3 columns. &nbsp;For some rows, there may be child items which we want to display in as below. &nbsp;We have tried using ComMergeItems to merge the child items but getting an access violation error.<div><br></div><div>Any help on what the&nbsp;ComMergeItems parameters are expected to be; handles, column index, or something else?</div><div><br></div><div>The tree is to look like...</div><div><br></div><div><font face="Courier New, Courier, mono"><b>Column A<span ="Apple-tab-span" style="white-space:pre">	</span>Column B<span ="Apple-tab-span" style="white-space:pre">	</span>Column C</b></font></div><div><font face="Courier New, Courier, mono">&nbsp;Item_A<span ="Apple-tab-span" style="white-space:pre">		</span>Value_A<span ="Apple-tab-span" style="white-space:pre">		</span>Price_A</font></div><div><font face="Courier New, Courier, mono">&nbsp;Item_B<span ="Apple-tab-span" style="white-space:pre">		</span>Value_B<span ="Apple-tab-span" style="white-space:pre">		</span>Price_B</font></div><div><font face="Courier New, Courier, mono">+Item_C<span ="Apple-tab-span" style="white-space:pre">		</span>Value_C<span ="Apple-tab-span" style="white-space:pre">		</span>Price_C</font></div><div><font face="Courier New, Courier, mono">&nbsp; &nbsp;Sub Item text for C1</font></div><div><font face="Courier New, Courier, mono">&nbsp; &nbsp;Sub item text for C2</font></div><div><font face="Courier New, Courier, mono">&nbsp;Item_D<span ="Apple-tab-span" style="white-space:pre">		</span>Value_D<span ="Apple-tab-span" style="white-space:pre">		</span>Price_D</font></div><div><font face="Courier New, Courier, mono">+Item_E<span ="Apple-tab-span" style="white-space:pre">		</span>Value_E<span ="Apple-tab-span" style="white-space:pre">		</span>Price_E</font></div><div><font face="Courier New, Courier, mono">&nbsp; &nbsp;Sub Item text for E</font></div><div><br></div><div>Note that the sub item text is spanning the columns. &nbsp;I can get the data to show in all but the spanning of the sub items.</div><div><br></div><div>Any assistance appreciated.</div>]]>
   </description>
   <pubDate>Wed, 22 Mar 2017 13:53:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23291&amp;PID=75645&amp;title=commergeitems-in-reportcontrol#75645</guid>
  </item> 
 </channel>
</rss>