<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.method.me/cs/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Method:Classic General Q&amp;amp;A</title><link>http://forums.method.me/cs/forums/13.aspx</link><description>Ask technical support questions, how do I? Questions... Or anything else you want to know from the Method Team and other Method users.</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 SP2 (Build: 31113.47)</generator><item><title>Re: Report Designer - Summary with Conditions</title><link>http://forums.method.me/cs/forums/thread/28440.aspx</link><pubDate>Tue, 18 Aug 2015 12:22:52 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:28440</guid><dc:creator>ITfromValor</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/28440.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=28440</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;&lt;span id="mce_1_start" style="overflow:hidden;"&gt;&lt;span id="mce_2_start" style="overflow:hidden;"&gt;EDIT: figured it out&lt;span id="mce_4_start" style="overflow:hidden;"&gt;&lt;span id="mce_9_start" style="overflow:hidden;"&gt; -&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;If Not(String.IsNullOrEmpty(item))&lt;span id="mce_5_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_5_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;span id="mce_8_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;span id="mce_10_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;span id="mce_1_start" style="overflow:hidden;"&gt;Hello&lt;span id="mce_1_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;! I am still improving&lt;span id="mce_2_start" style="overflow:hidden;"&gt; this&lt;/span&gt;&amp;nbsp;report with customized summaries &lt;span id="mce_3_start" style="overflow:hidden;"&gt;&lt;/span&gt;and &lt;span id="mce_5_start" style="overflow:hidden;"&gt;after I followed Matt&amp;#39;s instructions,&amp;nbsp;&lt;/span&gt;it works &lt;span id="mce_7_start" style="overflow:hidden;"&gt;great&lt;/span&gt;. Until the input is empty -&amp;nbsp;&lt;span id="mce_1_start"&gt;&lt;/span&gt;the picked dates generate no data &lt;span id="mce_8_start" style="overflow:hidden;"&gt;and&lt;/span&gt;&amp;nbsp;the report should be empty.&lt;span id="mce_9_start" style="overflow:hidden;"&gt;Then&lt;/span&gt;&amp;nbsp;I get an error message, because I still try to calculate the sum although I have no data. I would like to add a check for no input before the whole calculation. And I cannot really figure out how to phrase it.&lt;span id="mce_0_start" style="overflow:hidden;"&gt;&lt;/span&gt; Because it is not necesarrily an empty row, or is it? Thanks!&lt;span id="mce_0_end" style="overflow:hidden;"&gt;&lt;span id="mce_1_end" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Re: Report Designer - Summary with Conditions</title><link>http://forums.method.me/cs/forums/thread/28306.aspx</link><pubDate>Fri, 07 Aug 2015 19:47:31 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:28306</guid><dc:creator>ITfromValor</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/28306.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=28306</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;Thank you both! I think that I know what to do now and I will see if it works! Thanks again.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Re: Report Designer - Summary with Conditions</title><link>http://forums.method.me/cs/forums/thread/28282.aspx</link><pubDate>Thu, 06 Aug 2015 15:14:49 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:28282</guid><dc:creator>Matt</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/28282.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=28282</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;&lt;span id="mce_4_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;This can be done using scripts. It can a bit daunting if you haven&amp;#39;t used scripts before and it can try your patience making sure everything is setup correctly, but it can be done.&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;&lt;/span&gt;The idea is that on form load you declare global variables for the different categories. Then in the detail, on the category field or the number field (that you are trying to sum) you add a script that contains the conditions such IF category = &amp;quot;cat1&amp;quot; THEN cat1sum = cat1sum + numberField.&lt;span id="mce_1_start" style="overflow:hidden;"&gt; After adding the conditions for all the categories you would add a label &lt;span id="mce_2_start" style="overflow:hidden;"&gt;for each category&amp;nbsp;&lt;/span&gt;in the footer that has a script&amp;nbsp;&lt;span id="mce_3_start" style="overflow:hidden;"&gt;that enters the sum in to the label.&lt;span id="mce_6_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;Hope that helps!&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Re: Report Designer - Summary with Conditions</title><link>http://forums.method.me/cs/forums/thread/28275.aspx</link><pubDate>Thu, 06 Aug 2015 13:31:58 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:28275</guid><dc:creator>ttrudeau</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/28275.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=28275</wfw:commentRss><description>&lt;p&gt;&lt;span style="overflow:hidden;" id="mce_0_start"&gt;I&amp;#39;ve done something similar for an estimate. We only wanted certian categories of items on some printouts. &lt;span style="overflow:hidden;" id="mce_3_start"&gt;I modified the&lt;span style="overflow:hidden;" id="mce_4_start"&gt; EstimateLineDetail section (click the EstimateLineDetail bar and then click the arrow box) and was able to create a filter &lt;span style="overflow:hidden;" id="mce_5_start"&gt;string&lt;span style="overflow:hidden;" id="mce_9_start"&gt; (&lt;/span&gt;&lt;span style="overflow:hidden;" id="mce_6_start"&gt;&lt;span style="overflow:hidden;" id="mce_9_end"&gt;&lt;/span&gt;[Item] Like&lt;span style="overflow:hidden;" id="mce_7_start"&gt; &amp;#39;Electrical%&amp;#39;&lt;span style="overflow:hidden;" id="mce_8_start"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="overflow:hidden;" id="mce_3_end"&gt;&lt;/span&gt;&lt;span style="overflow:hidden;" id="mce_2_start"&gt;). This would then filter out any lines where the item didn&amp;#39;t start with Electrical. My summary was added as a normal summary. This only works on the Detail band from what I have seen. There&amp;#39;s not a way to set a filter on groups that I am aware of.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Report Designer - Summary with Conditions</title><link>http://forums.method.me/cs/forums/thread/28228.aspx</link><pubDate>Tue, 04 Aug 2015 16:08:47 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:28228</guid><dc:creator>ITfromValor</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/28228.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=28228</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;Hello! &lt;span id="mce_1_start" style="overflow:hidden;"&gt;I am trying to create a summary for a group, but calculate&lt;span id="mce_4_start" style="overflow:hidden;"&gt; it only&lt;/span&gt;&amp;nbsp;&lt;span id="mce_2_start" style="overflow:hidden;"&gt;for&lt;/span&gt;&amp;nbsp;items that fit into specific category.&lt;span id="mce_3_start" style="overflow:hidden;"&gt; I cannot figure out &lt;span id="mce_9_start" style="overflow:hidden;"&gt;a way how to make a conditional summary, does anyone have experience with that? I would really appreciate your help! Thanks!&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item></channel></rss>