<?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: Change report field format based on contents</title><link>http://forums.method.me/cs/forums/thread/26595.aspx</link><pubDate>Thu, 09 Apr 2015 01:03:20 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:26595</guid><dc:creator>ghawton</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/26595.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=26595</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/cs/Themes/methodtheme/images/icon-quote.gif"&gt; &lt;strong&gt;Method_Audisho:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_1_start" style="overflow:hidden;"&gt;&lt;/span&gt;If the condition of the rule is based on data from a line item, you will need to make sure that you select the &lt;b&gt;Data Member&lt;/b&gt; &lt;i&gt;Invoice.InvoiceLine.Invoice&lt;/i&gt; in your rule. Then, if you want to check if the &lt;b&gt;Item Name&lt;/b&gt; is &amp;lsquo;&lt;i&gt;Consulting Service&amp;rsquo;&lt;/i&gt; for example, you can use the condition editor to create the following rule:&lt;/p&gt;
&lt;p&gt;[Item] == &amp;#39;Consulting Service&amp;#39;&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_2_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;span id="mce_3_start" style="overflow:hidden;"&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 style="overflow:hidden;"&gt;Audisho--thank you! &amp;nbsp;This part was the part that I really needed to format the Work Orders as we need them. &amp;nbsp;I adapted what you said here to use ActivityJobItems.Activity as the Data Member and it works perfectly.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Re: Change report field format based on contents</title><link>http://forums.method.me/cs/forums/thread/26586.aspx</link><pubDate>Wed, 08 Apr 2015 18:46:14 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:26586</guid><dc:creator>robert.cowart</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/26586.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=26586</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;How can we do this in OnBeforePrint events? &amp;nbsp;I&amp;#39;ve got some complex&amp;nbsp;formulas to use to change the background colors of certain &lt;span id="mce_2_start" style="overflow:hidden;"&gt;derived (calculated)&amp;nbsp;&lt;/span&gt;values.&lt;span id="mce_1_start" style="overflow:hidden;"&gt; &amp;nbsp;The values of these &amp;quot;cells&amp;quot; are not tied to a table field, they are completely calculated within OnBeforePrint events. &amp;nbsp; I&amp;#39;m going to try using conditional formatting right now&lt;span id="mce_3_start" style="overflow:hidden;"&gt; anyways&lt;/span&gt;. &amp;nbsp;&lt;span id="mce_5_start" style="overflow:hidden;"&gt;I am sure there is something like: MyValue.text.forecolor in xtrareports that can be programmatically controlled. &amp;nbsp;Each of my cells in a summary band&amp;nbsp;has a different formula for determining&amp;nbsp;&lt;span id="mce_8_start" style="overflow:hidden;"&gt;background color. &amp;nbsp;What is the vb syntax for changing the background color or, say, Class1Sum.text? &amp;nbsp;&amp;nbsp;Class1Sum.text&amp;nbsp;is calculated purely in VB code in OnBeforePrint events.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;</description></item><item><title>Re: Change report field format based on contents</title><link>http://forums.method.me/cs/forums/thread/26581.aspx</link><pubDate>Wed, 08 Apr 2015 16:38:21 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:26581</guid><dc:creator>Method_Audisho</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/26581.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=26581</wfw:commentRss><description>&lt;p&gt;Hi ghawton,&lt;/p&gt;
&lt;p&gt;You can accomplish this using &lt;a href="https://www.methodintegration.com/method/kb.aspx?folder=MethodCRM&amp;amp;article=Conditional-formatting&amp;amp;id=411" target="_blank"&gt;condition&lt;span id="mce_7_start" style="overflow:hidden;"&gt;&lt;/span&gt;al formatting&lt;/a&gt;. I recommend that you watch the video at the bottom of the article so that you first understand what conditional formatting is and how to implement it. Once you have done this, you can create your own &lt;b&gt;formatting rules&lt;/b&gt; that apply formatting when the &lt;b&gt;condition&lt;/b&gt; is &lt;i&gt;true&lt;/i&gt;.&lt;/p&gt;
&lt;p&gt;If the condition of the rule is based on data from a line item, you will need to make sure that you select the &lt;b&gt;Data Member&lt;/b&gt; &lt;i&gt;Invoice.InvoiceLine.Invoice&lt;/i&gt; in your rule. Then, if you want to check if the &lt;b&gt;Item Name&lt;/b&gt; is &amp;lsquo;&lt;i&gt;Consulting Service&amp;rsquo;&lt;/i&gt; for example, you can use the condition editor to create the following rule:&lt;/p&gt;
&lt;p&gt;[Item] == &amp;#39;Consulting Service&amp;#39;&lt;/p&gt;
&lt;p&gt;Give this a shot and let me know if you have any other questions.&lt;/p&gt;
&lt;p&gt;I hope this helps.&lt;/p&gt;
&lt;p&gt;-Audisho&lt;/p&gt;</description></item><item><title>Change report field format based on contents</title><link>http://forums.method.me/cs/forums/thread/26572.aspx</link><pubDate>Wed, 08 Apr 2015 01:29:10 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:26572</guid><dc:creator>ghawton</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/26572.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=26572</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;Is there a way to highlight a field, or change a font based on the field&amp;#39;s contents? &amp;nbsp;It&amp;#39;s easy to change background color or modify the font for an individual field, but what if I only want those changes to appear if the field contains a specific text? &amp;nbsp;I&amp;#39;d love to highlight certain exceptions on a field report if possible.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;</description></item></channel></rss>