On Mar 29, 2007, at 9:15 AM, [EMAIL PROTECTED] wrote:


I need to create a code that will display a graphic resource if the data field "source" contains the letters FX anywhere within the field. If the
field does not contain the FX then no graphic will be displayed.


I am sure you will get many suggestions, one way:

if (Field("source").match(/(FX)/))
{
        return Resource("Something");
}
else
{
        return Resource("Blank");
}


-- Brian Ray

--
Users of FusionPro Desktop have unlimited free email support. Contact Printable Support at [EMAIL PROTECTED] --
View FusionPro Knowledge Base, FusionPro Samples at
www.printable.com/vdp/desktop.htm

--
You are currently subscribed to fusionpro as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
--


--
Note:  All e-mail sent to or from this address will be received or otherwise 
recorded by the e-mail recipients of this forum. It is subject to archival, 
monitoring or review by, and/or disclosure to someone other than the recipient. 
Our privacy policy is posted on www.printplanet.com
--

Reply via email to