Craig
2009-02-26 11:58:28 UTC
I have a field in a table which is set as a number field.
The user can only insert whole numbers such as 1 or a decimal such as .5
(the user can also do 1.5 etc..)
THere are only certain decimals which are allowed and I have a method which
checks that. Not a problem.
I am concerned that the user might try to insert a fraction such as "1/2".
I would like to trap for that PRIOR to the method which checks for the
proper decimals which is triggered in changevalue.
How can I trap for that?
Thanks in advance,
Craig
The user can only insert whole numbers such as 1 or a decimal such as .5
(the user can also do 1.5 etc..)
THere are only certain decimals which are allowed and I have a method which
checks that. Not a problem.
I am concerned that the user might try to insert a fraction such as "1/2".
I would like to trap for that PRIOR to the method which checks for the
proper decimals which is triggered in changevalue.
How can I trap for that?
Thanks in advance,
Craig