>>
>>So, what would you suggest me to do? I didn't want to use vartype, because it may throw an error, if the expression is incorrect...
>>
>>Thanks in advance.
>
>
>m.VarToCheck = trimzero('00034')
>TYPE('m.VarToCheck')
>
>
>
>Yes I know, It isn't the great and innovate idea you are looking for... but it works.
>
>Regards,
>José Luis.
I have a filed content, so my VarToCheck would be "trimzero(StNumExt)" (e.g. in quotes).
E.g.
theFld=thisform.edtReplaceFld.value
theType=type(m.theFld)
&& Returns U
I dont' think, I can use & or evaluate function here...
If it's not broken, fix it until it is.
My Blog