<?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 - Creating a Variable</title><link>http://forums.method.me/cs/forums/thread/29537.aspx</link><pubDate>Fri, 30 Oct 2015 17:24:50 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:29537</guid><dc:creator>l.brandow</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/29537.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=29537</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;Forums are great. I just used this again.&amp;nbsp;&lt;span id="mce_2_start" style="overflow:hidden;"&gt;&lt;span id="mce_3_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Re: Method Report Designer - Creating a Variable</title><link>http://forums.method.me/cs/forums/thread/22877.aspx</link><pubDate>Tue, 12 Aug 2014 14:24:49 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:22877</guid><dc:creator>l.brandow</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/22877.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=22877</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;Okay, It&lt;span id="mce_2_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;&lt;/span&gt; worked! Thank you&lt;span id="mce_1_start" style="overflow:hidden;"&gt; very much&lt;/span&gt;!&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Re: Method Report Designer - Creating a Variable</title><link>http://forums.method.me/cs/forums/thread/22876.aspx</link><pubDate>Tue, 12 Aug 2014 14:22:24 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:22876</guid><dc:creator>l.brandow</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/22876.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=22876</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;Okay that helped. I&amp;#39;m not getting an error message any more. For some reason, however, it&amp;#39;s not pulling my custom fields. I&amp;#39;m trouble shooting that now.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Re: Method Report Designer - Creating a Variable</title><link>http://forums.method.me/cs/forums/thread/22874.aspx</link><pubDate>Tue, 12 Aug 2014 14:12:01 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:22874</guid><dc:creator>Method_Greg</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/22874.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=22874</wfw:commentRss><description>&lt;p&gt;&lt;span style="overflow:hidden;" id="mce_0_start"&gt;Hello Lance,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;" id="mce_0_start"&gt;&lt;/span&gt;&amp;nbsp; I have a hot new lead.&amp;nbsp; You are missing underscores&lt;span style="overflow:hidden;" id="mce_1_start"&gt;&lt;/span&gt;&lt;span style="overflow:hidden;" id="mce_1_start"&gt;, &amp;quot; _ &amp;quot;&lt;/span&gt; in your equation.&amp;nbsp; When you have to carry the equation to a new line, &lt;span style="overflow:hidden;" id="mce_2_start"&gt;you need underscores to tell the program it&amp;#39;s continuing on the next line.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;" id="mce_2_start"&gt;&lt;/span&gt;eg.&amp;nbsp;&amp;nbsp;&amp;nbsp; a + b&lt;/p&gt;
&lt;p&gt;Corr&lt;span style="overflow:hidden;" id="mce_4_start"&gt;ect:&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;" id="mce_4_start"&gt;&lt;/span&gt;a_&lt;/p&gt;
&lt;p&gt;+ b&lt;/p&gt;
&lt;p&gt;Incorrect:&lt;span style="overflow:hidden;" id="mce_6_start"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;a&lt;span style="overflow:hidden;" id="mce_5_start"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;+ b&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Let me know if this works.&lt;/p&gt;
&lt;p&gt;Greg&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;</description></item><item><title>Re: Method Report Designer - Creating a Variable</title><link>http://forums.method.me/cs/forums/thread/22873.aspx</link><pubDate>Tue, 12 Aug 2014 13:44:33 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:22873</guid><dc:creator>Method_Greg</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/22873.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=22873</wfw:commentRss><description>&lt;p&gt;&lt;span style="overflow:hidden;" id="mce_0_start"&gt;Hey Lance,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;" id="mce_0_start"&gt;&lt;/span&gt;&amp;nbsp; It looks like you found some stray spaces.&amp;nbsp; This must not have been the issue.&amp;nbsp; I would recommen&lt;span style="overflow:hidden;" id="mce_1_start"&gt;d going with just the first couple of lines.&amp;nbsp; Generate the report and see if &lt;span style="overflow:hidden;" id="mce_4_start"&gt;it&lt;/span&gt;&lt;span style="overflow:hidden;" id="mce_4_end"&gt;&lt;/span&gt; work.&lt;span style="overflow:hidden;" id="mce_5_start"&gt;s.&lt;/span&gt;&amp;nbsp; Then subsequently add another line of the equation.&amp;nbsp; See if this pinpoints where the error is occurring.&lt;span style="overflow:hidden;" id="mce_2_start"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Greg&lt;/p&gt;</description></item><item><title>Re: Method Report Designer - Creating a Variable</title><link>http://forums.method.me/cs/forums/thread/22872.aspx</link><pubDate>Mon, 11 Aug 2014 22:07:55 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:22872</guid><dc:creator>l.brandow</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/22872.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=22872</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;Thanks Fran! It&amp;#39;s good to hear from you. I&amp;#39;m trying to avoid that &lt;span id="mce_7_start" style="overflow:hidden;"&gt;&lt;/span&gt;route&lt;span id="mce_7_end" style="overflow:hidden;"&gt;&lt;/span&gt;. Let &amp;#39;s hope I can get this working.&lt;span id="mce_4_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;Hey Greg,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Line 3 is: &lt;span id="mce_1_start" style="overflow:hidden;"&gt; &amp;nbsp; &amp;nbsp;&lt;/span&gt;dim sNewLine as String = Microsoft.VisualBasic.ChrW(13) + Microsoft.VisualBasic.ChrW(10)&lt;br /&gt;Line 10 is: &lt;span id="mce_2_start" style="overflow:hidden;"&gt; &amp;nbsp;&lt;/span&gt;+ Microsoft.VisualBasic.Interaction.IIf(GetCurrentColumnValue(&amp;quot;aaContactName&amp;quot;) &amp;lt;&amp;gt; String.Empty,sNewLine + GetCurrentColumnValue(&amp;quot;aaContactName&amp;quot;),&amp;quot;&amp;quot;)&lt;br /&gt;Line 11 is: &lt;span id="mce_3_start" style="overflow:hidden;"&gt; &amp;nbsp;&lt;/span&gt;+ Microsoft.VisualBasic.Interaction.IIf(GetCurrentColumnValue(&amp;quot;aaContactEmail&amp;quot;) &amp;lt;&amp;gt; String.Empty,sNewLine + GetCurrentColumnValue(&amp;quot;aaContactEmail&amp;quot;),&amp;quot;&amp;quot;)&lt;span id="mce_5_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;I found an extra space at the end of lines 10 and 11, so I deleted them; saved and ran the print preview again. I&amp;#39;m still getting the same error message.&amp;nbsp;&lt;span id="mce_6_start" style="overflow:hidden;"&gt;What kind of spacing or blank field should I be looking for?&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;Thanks,&lt;span id="mce_8_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;</description></item><item><title>Re: Method Report Designer - Creating a Variable</title><link>http://forums.method.me/cs/forums/thread/22437.aspx</link><pubDate>Tue, 01 Jul 2014 15:17:49 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:22437</guid><dc:creator>Method_Greg</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/22437.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=22437</wfw:commentRss><description>&lt;p&gt;&lt;span style="overflow:hidden;" id="mce_0_start"&gt;Hello Lance,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;" id="mce_0_start"&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="overflow:hidden;" id="mce_1_start"&gt;Sorry for the late reply.&amp;nbsp; &lt;/span&gt;I do not see any typos in the code.&amp;nbsp; I did a quick search for the error and you may have an issue with spacing.&amp;nbsp; Try taking away spaces or adding spaces.&amp;nbsp; It give&lt;span style="overflow:hidden;" id="mce_3_start"&gt;s&lt;/span&gt; three lines where the error is occurring.&lt;span style="overflow:hidden;" id="mce_4_start"&gt;, but I can&amp;#39;t tell the line numbering from your post.&lt;/span&gt;&amp;nbsp; I would recommend taking away parts of the code and trying to find exactly what line it is erroring out on.&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;" id="mce_5_start"&gt;&amp;nbsp;&amp;nbsp; Thanks Fran for your response.&amp;nbsp;&amp;nbsp; It looks like Lance&amp;#39;s code is dealing with spacing and blank fields for address.&amp;nbsp; I have seen this type of code before that eliminates dead space in addresses.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Greg&lt;/p&gt;</description></item><item><title>Re: Method Report Designer - Creating a Variable</title><link>http://forums.method.me/cs/forums/thread/22359.aspx</link><pubDate>Mon, 23 Jun 2014 14:42:19 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:22359</guid><dc:creator>fran</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/22359.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=22359</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;Hey Lance,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;I can&amp;#39;t speak to your script, but &lt;span id="mce_1_start" style="overflow:hidden;"&gt;I&amp;nbsp;&lt;/span&gt;add these elements to my Sales Orders &lt;span id="mce_2_start" style="overflow:hidden;"&gt;templates&amp;nbsp;&lt;/span&gt;all the time. I add them as fields beneath the address box so that I can add labels, like &amp;quot;name, email,phone&amp;quot;...&lt;span id="mce_3_start" style="overflow:hidden;"&gt;They aren&amp;#39;t quite the same as an address.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;Fran&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Re: Method Report Designer - Creating a Variable</title><link>http://forums.method.me/cs/forums/thread/22324.aspx</link><pubDate>Tue, 17 Jun 2014 21:05:42 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:22324</guid><dc:creator>l.brandow</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/22324.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=22324</wfw:commentRss><description>&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_0_start"&gt;I added a few fields to the Sales Order table an&lt;span id="mce_3_start"&gt;d Sales Order&lt;/span&gt;&amp;nbsp;screen. I&amp;#39;d like to add&amp;nbsp;&lt;span id="mce_5_start"&gt;t&lt;span id="mce_6_start" style="overflow:hidden;"&gt;&lt;/span&gt;he same fields&lt;/span&gt;&amp;nbsp;to the&lt;span id="mce_1_start"&gt; ship to address on&lt;span id="mce_6_start"&gt; the&lt;/span&gt;&lt;/span&gt;&amp;nbsp;Sales Order template as well&lt;span id="mce_2_start"&gt;.&amp;nbsp;&lt;span id="mce_7_start"&gt;&lt;span id="mce_8_start"&gt;I tried adding&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_0_start"&gt;&lt;span id="mce_2_start"&gt;&lt;span id="mce_7_start"&gt;&lt;span id="mce_8_start"&gt;&lt;span id="mce_10_start"&gt;&lt;span id="mce_8_start" style="overflow:hidden;"&gt;&lt;/span&gt;them to the script like this:&lt;span id="mce_11_start"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;/span&gt;&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;&lt;span style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;xrShipAddress.Text = GetCurrentColumnValue(&amp;quot;ShipAddressAddr1&amp;quot;) _&lt;br /&gt;+ Microsoft.VisualBasic.Interaction.IIf(GetCurrentColumnValue(&amp;quot;ShipAddressAddr2&amp;quot;) &amp;lt;&amp;gt; String.Empty,sNewLine + GetCurrentColumnValue(&amp;quot;ShipAddressAddr2&amp;quot;),&amp;quot;&amp;quot;) _&lt;br /&gt;+ Microsoft.VisualBasic.Interaction.IIf(GetCurrentColumnValue(&amp;quot;ShipAddressAddr3&amp;quot;) &amp;lt;&amp;gt; String.Empty,sNewLine + GetCurrentColumnValue(&amp;quot;ShipAddressAddr3&amp;quot;),&amp;quot;&amp;quot;) _&lt;br /&gt;+ Microsoft.VisualBasic.Interaction.IIf(GetCurrentColumnValue(&amp;quot;ShipAddressCity&amp;quot;) &amp;lt;&amp;gt; String.Empty,sNewLine + GetCurrentColumnValue(&amp;quot;ShipAddressCity&amp;quot;) + &amp;quot;, &amp;quot; + GetCurrentColumnValue(&amp;quot;ShipAddressState&amp;quot;) + &amp;quot; &amp;quot; + GetCurrentColumnValue(&amp;quot;ShipAddressPostalCode&amp;quot;),&amp;quot;&amp;quot;) _&lt;br /&gt;+ Microsoft.VisualBasic.Interaction.IIf(GetCurrentColumnValue(&amp;quot;ShipAddressCountry&amp;quot;) &amp;lt;&amp;gt; String.Empty,sNewLine + GetCurrentColumnValue(&amp;quot;ShipAddressCountry&amp;quot;),&amp;quot;&amp;quot;)&amp;nbsp;&lt;br /&gt;&lt;span id="mce_20_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;strong&gt;+ Microsoft.VisualBasic.Interaction.IIf(GetCurrentColumnValue(&amp;quot;aaContactName&amp;quot;) &amp;lt;&amp;gt; String.Empty,sNewLine + GetCurrentColumnValue(&amp;quot;aaContactName&amp;quot;),&amp;quot;&amp;quot;)&amp;nbsp;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;+ Microsoft.VisualBasic.Interaction.IIf(GetCurrentColumnValue(&amp;quot;aaContactEmail&amp;quot;) &amp;lt;&amp;gt; String.Empty,sNewLine + GetCurrentColumnValue(&amp;quot;aaContactEmail&amp;quot;),&amp;quot;&amp;quot;)&amp;nbsp;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;+ Microsoft.VisualBasic.Interaction.IIf(GetCurrentColumnValue(&amp;quot;aaContatPhone&amp;quot;) &amp;lt;&amp;gt; String.Empty,sNewLine + GetCurrentColumnValue(&amp;quot;aaContactPhone&amp;quot;),&amp;quot;&amp;quot;)&lt;span id="mce_20_end" style="overflow:hidden;"&gt;&lt;span id="mce_23_start" style="overflow:hidden;"&gt;&lt;span id="mce_24_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;End Sub&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span id="mce_12_start"&gt;&lt;span id="mce_15_start" style="overflow:hidden;"&gt;&lt;span id="mce_22_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span id="mce_12_start"&gt;&lt;span id="mce_15_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;span id="mce_16_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;strong&gt;When I try a print preview I get &lt;span id="mce_3_start" style="overflow:hidden;"&gt;&lt;span id="mce_4_start" style="overflow:hidden;"&gt;this error:&lt;span id="mce_7_start" style="overflow:hidden;"&gt;&lt;span id="mce_16_end" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;&lt;span id="mce_5_start" style="overflow:hidden;"&gt;&lt;span id="mce_9_start" style="overflow:hidden;"&gt;There are following errors in scripts(s):&lt;span id="mce_18_start" style="overflow:hidden;"&gt;&lt;span id="mce_19_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;&lt;span id="mce_10_end" style="overflow:hidden;"&gt;&lt;span id="mce_10_start"&gt;&lt;/span&gt;xrShipAddress.OnBeforePrint, Line 10&lt;span id="mce_11_start" style="overflow:hidden;"&gt;&lt;/span&gt;: error BC30035: Syntax error.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_10_start"&gt;&lt;/span&gt;xrShipAddress.OnBeforePrint, Line 11&lt;span id="mce_12_start" style="overflow:hidden;"&gt;&lt;/span&gt;: error BC30035: Syntax error.&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_10_start"&gt;&lt;/span&gt;xrShipAddress.OnBeforePrint, Line 3: error BC30035: Syntax error.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;&lt;span id="mce_10_end" style="overflow:hidden;"&gt;&lt;span id="mce_25_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;With this information can someone possibly see what I&amp;#39;m doing wrong? Any help would be great.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;span id="mce_26_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Re: Method Report Designer - Creating a Variable</title><link>http://forums.method.me/cs/forums/thread/11960.aspx</link><pubDate>Wed, 25 Apr 2012 20:15:30 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:11960</guid><dc:creator>CarolOliver</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/11960.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=11960</wfw:commentRss><description>&lt;p&gt;Thanks SO much.&lt;/p&gt;
&lt;p&gt;Carol&lt;/p&gt;</description></item><item><title>Re: Method Report Designer - Creating a Variable</title><link>http://forums.method.me/cs/forums/thread/11959.aspx</link><pubDate>Wed, 25 Apr 2012 20:02:14 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:11959</guid><dc:creator>Anonymous</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/11959.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=11959</wfw:commentRss><description>&lt;p&gt;Another tip I just got from my co-worker here is&amp;nbsp;if you use &lt;b&gt;CType(sender, XRLabel).Text&lt;/b&gt; as your variable name&amp;nbsp;it references the current label you&amp;#39;re writing the script in.&lt;/p&gt;
&lt;p&gt;Happy Method&lt;i&gt;ing&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;~C&lt;/p&gt;</description></item><item><title>Re: Method Report Designer - Creating a Variable</title><link>http://forums.method.me/cs/forums/thread/11955.aspx</link><pubDate>Wed, 25 Apr 2012 15:47:12 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:11955</guid><dc:creator>CarolOliver</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/11955.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=11955</wfw:commentRss><description>&lt;p&gt;Well, I AM embarassed!!!!&lt;/p&gt;
&lt;p&gt;The field property &amp;quot;Multiline&amp;quot;&amp;nbsp;was not set to YES.&lt;/p&gt;
&lt;p&gt;And I also discovered that I can re-declare a string variable with the same name.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;Carol&lt;/p&gt;</description></item><item><title>Re: Method Report Designer - Creating a Variable</title><link>http://forums.method.me/cs/forums/thread/11954.aspx</link><pubDate>Wed, 25 Apr 2012 15:27:40 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:11954</guid><dc:creator>CarolOliver</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/11954.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=11954</wfw:commentRss><description>&lt;p&gt;Chad,&lt;/p&gt;
&lt;p&gt;Fabulous! &amp;nbsp;Thanks so much. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Yes, I dive in fearlessly -- I learn best that way. &amp;nbsp;&lt;img src="http://www.methodintegration.com/cs/emoticons/emotion-2.gif" alt="Big Smile" /&gt;&lt;/p&gt;
&lt;p&gt;My only problem now is that the carriage return (hard enter) is not working. &amp;nbsp;Here is my script -- It&amp;#39;s almost identical to the Bill to address except that I renamed the string variable because I didn&amp;#39;t know if I could use the same variable name twice.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;i&gt;Private Sub OnBeforePrint(ByVal sender As Object, ByVal e As System.Drawing.Printing.PrintEventArgs)&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;&lt;i&gt;&amp;#39;Create a carriage return variable, for simplicity&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;&lt;i&gt;dim aNewLine as String = Microsoft.VisualBasic.ChrW(13) + Microsoft.VisualBasic.ChrW(10)&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;&lt;i&gt;xrShipAdd.Text = GetCurrentColumnValue(&amp;quot;ShipAddressAddr1&amp;quot;) _&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;&lt;i&gt;+ Microsoft.VisualBasic.Interaction.IIf(GetCurrentColumnValue(&amp;quot;ShipAddressAddr2&amp;quot;) &amp;lt;&amp;gt; String.Empty,aNewLine + GetCurrentColumnValue(&amp;quot;ShipAddressAddr2&amp;quot;),&amp;quot;&amp;quot;) _&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;&lt;i&gt;+ Microsoft.VisualBasic.Interaction.IIf(GetCurrentColumnValue(&amp;quot;ShipAddressAddr3&amp;quot;) &amp;lt;&amp;gt; String.Empty,aNewLine + GetCurrentColumnValue(&amp;quot;ShipAddressAddr3&amp;quot;),&amp;quot;&amp;quot;) _&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;&lt;i&gt;+ Microsoft.VisualBasic.Interaction.IIf(GetCurrentColumnValue(&amp;quot;ShipAddressCity&amp;quot;) &amp;lt;&amp;gt; String.Empty,aNewLine + GetCurrentColumnValue(&amp;quot;ShipAddressCity&amp;quot;) + &amp;quot;, &amp;quot; + GetCurrentColumnValue(&amp;quot;ShipAddressState&amp;quot;) + &amp;quot; &amp;quot; + GetCurrentColumnValue(&amp;quot;ShipAddressPostalCode&amp;quot;),&amp;quot;&amp;quot;) _&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;&lt;i&gt;+ Microsoft.VisualBasic.Interaction.IIf(GetCurrentColumnValue(&amp;quot;ShipAddressCountry&amp;quot;) &amp;lt;&amp;gt; String.Empty,aNewLine + GetCurrentColumnValue(&amp;quot;ShipAddressCountry&amp;quot;),&amp;quot;&amp;quot;)&amp;nbsp;&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;&lt;i&gt;End Sub&lt;/i&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also, this is so similar to VBA. &amp;nbsp;Can you recommend a book on scripts? &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks again!!!&lt;/p&gt;
&lt;p&gt;Carol&lt;/p&gt;</description></item><item><title>Re: Method Report Designer - Creating a Variable</title><link>http://forums.method.me/cs/forums/thread/11953.aspx</link><pubDate>Wed, 25 Apr 2012 14:43:06 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:11953</guid><dc:creator>Anonymous</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/11953.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=11953</wfw:commentRss><description>&lt;p&gt;Hi CarolOliver,&lt;/p&gt;
&lt;p&gt;First up, welcome to Method.&lt;/p&gt;
&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/cs/Themes/methodtheme/images/icon-quote.gif"&gt; &lt;strong&gt;CarolOliver:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;It isn&amp;#39;t declared within the script itself...&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;It does get declared in the script on the 4th line:&amp;nbsp;xrShipAddress.Text. &amp;nbsp;If you use xrShipAddress as the variable name you also need to update the property grid &amp;gt; design (name) field to the same name:&amp;nbsp;xrShipAddress. &amp;nbsp;See my screenshot &lt;a target="_blank" title="here" href="http://i.imgur.com/OQb10.png"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Please post back if you have any problems.&lt;/p&gt;
&lt;p&gt;~C&lt;/p&gt;</description></item><item><title>Method Report Designer - Creating a Variable</title><link>http://forums.method.me/cs/forums/thread/11948.aspx</link><pubDate>Wed, 25 Apr 2012 11:32:40 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:11948</guid><dc:creator>CarolOliver</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/11948.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=11948</wfw:commentRss><description>&lt;p&gt;I am a long-time Crystal Reports user and am learning the Method Report Designer. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am customizing the Estimate form and want to put a Ship To Address on the form. &amp;nbsp;I copied and modified the script for the Bill To Address, but I don&amp;#39;t know how to declare the xrShiptoAddress variable for the new script. &amp;nbsp;It isn&amp;#39;t declared within the script itself...&lt;/p&gt;
&lt;p&gt;I would appreciate any help you could offer! &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;Carol&lt;/p&gt;</description></item></channel></rss>