Hi Gerald/Randy,
Try it one of these two ways:
EVALUATE( "acomp.TaxRate" + m.Store )
or
EVALUATE( acomp.TaxRate&store. )
My guess is that VFP probably thinks that TaxRate is a function or some such because of the second set of parentheses inside the EVALUATE command.
>>This expression is simple, but it gives me an error
>>in both VFP 6 & 7
>>
>>?EVALUATE(acomp.TaxRate(m.store))
>>
>>where m.store = '1'
>>and acomp.TaxRate1 is a field that holds a numeric value
>>
>>Thanks, Randy
>
>If TaxRate is a field, you cnat call it like a method with "()"...
Evan Pauley, MCP
Positronic Technology Systems LLC
Knoxville, TN
If a vegetarian eats vegetables, what does a humanitarian eat?