>Hi,
>Just pass the field to the function, VFP will evaluate runtime
>
>What error message you get?
John,
In the Function, your CASE statements refer only to FIXED values "0001" and "0002" for UPSINO. UPSINO is the ID number for a piece of equipment. It could have a value of any string up to seven characters. So I can have a UPSINO that looks like "TC00001" "TC0002" , or even "LTC00045", "LTC00046", etc. And in the resulting cursor, there will be multiple lines for any one of these UPSINOs. So I want to alternate like "green bar" paper, but not by every other row, rather alternate when the UPSINO changes each time in the resulting grid.
In the function you describe, it looks like you want me to make a CASE statement for every possibility of UPSINO.
Am I totally missing it or what?