Hi all,
Can somebody help me to do the following:
IF <field/variable> is an Interger>
STR(Field/Variable,15) && no decimals
endif
IF <field/variable> is a Real/Double>
STR(Field/Variable,15,2) && with 2 decimals
endif
I tried VARTYPE but, it returns 'N' for all numerics except Currency ('Y'). I am ADDITEMing combo/list boxes using specific values in tables.
Thanks
Foxbldr
Can somebody help me to do the following:
IF <field/variable> is an Interger>
STR(Field/Variable,15) && no decimals
endif
IF <field/variable> is a Real/Double>
STR(Field/Variable,15,2) && with 2 decimals
endif
I tried VARTYPE but, it returns 'N' for all numerics except Currency ('Y'). I am ADDITEMing combo/list boxes using specific values in tables.
Thanks
Foxbldr