<?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: Method Report Designer Suppress Empty Field</title><link>http://forums.method.me/cs/forums/thread/4576.aspx</link><pubDate>Mon, 10 Jan 2011 06:31:46 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:4576</guid><dc:creator>PLD Inc</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/4576.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=4576</wfw:commentRss><description>&lt;p&gt;Thanks!&amp;nbsp; I&amp;#39;ll give it a shot&lt;/p&gt;</description></item><item><title>Re: Method Report Designer Suppress Empty Field</title><link>http://forums.method.me/cs/forums/thread/4566.aspx</link><pubDate>Sat, 08 Jan 2011 20:54:30 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:4566</guid><dc:creator>Method_Paul</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/4566.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=4566</wfw:commentRss><description>&lt;p&gt;Laurie -&lt;/p&gt;
&lt;p&gt;Congrats at customizing your invoice!&lt;/p&gt;
&lt;p&gt;Check out how we did the &amp;quot;Estimate (Custom)&amp;quot; template was built.&amp;nbsp; It&amp;#39;s tricky, but here&amp;#39;s how we did it:&lt;/p&gt;
&lt;p&gt;1. Put one textbox object, called xrBillAddress.&lt;/p&gt;
&lt;p&gt;2. Edied the properties in the lower-right of the designer, expanded the Scripts property, and clicked in the Before Print script.&lt;/p&gt;
&lt;p&gt;3. Click the &amp;quot;...&amp;quot; in Before Print Script.&lt;/p&gt;
&lt;p&gt;4. Put the following&amp;nbsp;script in.&amp;nbsp; This way it formats it nicely.&amp;nbsp; You can just copy and paste this and it&amp;#39;ll work, as long as you called your textbox &amp;quot;xrBillAddress&amp;quot; as well.&lt;/p&gt;
&lt;p&gt;Paul&lt;/p&gt;
&lt;p&gt;Private Sub OnBeforePrint(ByVal sender As Object, ByVal e As System.Drawing.Printing.PrintEventArgs)&lt;br /&gt;&amp;#39;Create a carriage return variable, for simplicity&lt;br /&gt;dim sNewLine as String = Microsoft.VisualBasic.ChrW(13) + Microsoft.VisualBasic.ChrW(10)&lt;/p&gt;
&lt;p&gt;xrBillAddress.Text = GetCurrentColumnValue(&amp;quot;BillAddressAddr1&amp;quot;) _&lt;br /&gt;+ Microsoft.VisualBasic.Interaction.IIf(GetCurrentColumnValue(&amp;quot;BillAddressAddr2&amp;quot;) &amp;lt;&amp;gt; String.Empty,sNewLine + GetCurrentColumnValue(&amp;quot;BillAddressAddr2&amp;quot;),&amp;quot;&amp;quot;) _&lt;br /&gt;+ Microsoft.VisualBasic.Interaction.IIf(GetCurrentColumnValue(&amp;quot;BillAddressAddr3&amp;quot;) &amp;lt;&amp;gt; String.Empty,sNewLine + GetCurrentColumnValue(&amp;quot;BillAddressAddr3&amp;quot;),&amp;quot;&amp;quot;) _&lt;br /&gt;+ Microsoft.VisualBasic.Interaction.IIf(GetCurrentColumnValue(&amp;quot;BillAddressCity&amp;quot;) &amp;lt;&amp;gt; String.Empty,sNewLine + GetCurrentColumnValue(&amp;quot;BillAddressCity&amp;quot;) + &amp;quot;, &amp;quot; + GetCurrentColumnValue(&amp;quot;BillAddressState&amp;quot;) + &amp;quot; &amp;quot; + GetCurrentColumnValue(&amp;quot;BillAddressPostalCode&amp;quot;),&amp;quot;&amp;quot;) _&lt;br /&gt;+ Microsoft.VisualBasic.Interaction.IIf(GetCurrentColumnValue(&amp;quot;BillAddressCountry&amp;quot;) &amp;lt;&amp;gt; String.Empty,sNewLine + GetCurrentColumnValue(&amp;quot;BillAddressCountry&amp;quot;),&amp;quot;&amp;quot;) &lt;/p&gt;
&lt;p&gt;End Sub&amp;nbsp;&lt;/p&gt;</description></item><item><title>Method Report Designer Suppress Empty Field</title><link>http://forums.method.me/cs/forums/thread/4564.aspx</link><pubDate>Sat, 08 Jan 2011 20:34:41 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:4564</guid><dc:creator>PLD Inc</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/4564.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=4564</wfw:commentRss><description>&lt;p&gt;I have successfully modified my invoice.&amp;nbsp; I have one problem that I&amp;#39;m hoping someone can help me with:&lt;/p&gt;
&lt;p&gt;Looking just at Billing Address, I have four fields vertically aligned:&lt;/p&gt;
&lt;p&gt;Bill Address Addr1&lt;/p&gt;
&lt;p&gt;Bill Address Addr2&lt;/p&gt;
&lt;p&gt;Bill Address Addr3&lt;/p&gt;
&lt;p&gt;Invoice Bill Address City, ...State, ...Zip&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Some invoices have Addr1 and Addr2, some have Addr1, Addr2, and Addr3.&lt;/p&gt;
&lt;p&gt;The way it is set up now (I used the default template as the model) It looks good if I have all three fields populated.&amp;nbsp; However, if I have nothing in Addr3, I have a one line gap on the printed invoice between Addr2 (typically street) and the city, state, zip line.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is there a way to suppress Addr3 when it is empty so that there is not a one line gap on the printed address?&amp;nbsp; I want my invoice generated from qxpress to look like what I get out of quickbooks.&amp;nbsp; I am close - this is the last issue.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can anyone help?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks!&amp;nbsp;&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Laurie from PLD&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>