Hi Sameer,
Long time no see, bro! :^)
>here is the way to do it:
>
>
>Add a formula field to the report:
>
>In the formula editor add the foll piece of code:
>
>if {table.companyname} = "ABC"
>then
>"POID"
>else
>""
Ok. I take it that "POID" is a variable set to some specific value?
>Then insert this formula field into the report..
Ok. Well, it's your code, SameHere (Sameer's nickname :^). Did it work? :^)
Randall
--
Randall Jouett
Amateur/Ham Radio: AB5NI
I eat spaghetti code out of a bit bucket while sitting at a hash table! Someone
asked me if I needed salt, and I said, "I'm not into encryption." :^)