I want to display a text object in a gf based on a field in the record. I created a text box that is either suppressed or not depending on value of mtpm.com_code. With some help from a local group we came up with the following.
if isnull ({mtpm.com_code}) or {mtpm.com_code} in ["water","waste","offic","treat","lab"]
then true
else
false
This works if the field mtpm.com_code is the same for each record, but I might have 20 records and they will all have a dif value. The question is: how do I get the text object to print if only one record out of 20 is the right value?
thanks
keo kowen@rrwa.net
if isnull ({mtpm.com_code}) or {mtpm.com_code} in ["water","waste","offic","treat","lab"]
then true
else
false
This works if the field mtpm.com_code is the same for each record, but I might have 20 records and they will all have a dif value. The question is: how do I get the text object to print if only one record out of 20 is the right value?
thanks
keo kowen@rrwa.net