>Since
size and
dec must be passed as arguments to the function, this is hardly a general approach. In fact, knowing that information, it would be simpler to hardcode the value in the scope expression (like Caroline suggested).
>
>Strangely, VFP seems to not have a function to give you the precision of a numeric field, or am I missing something?
>
>bye
Hi António Yes you are Try:
SET("DECIMALS")
Alexandre Palma
Senior Application Architect