Re: isnumeric compile error...
MLH wrote:
Yes, check for it's validity in the BeforeUpdate event.
Entering IsNumeric(1.1.2 ) in Debug is different than entering 1.2.2 in a
textbox. One is a literal, the other what I'd consider a variable. If
bound to a numeric field you would get an error.
If you are running all your functions and subs from debug then you need
to enter in data correctly.
MLH wrote:
<Snip>
>
>
>
Again, point well taken. So, some program code dynamics are difficult
to replicate in the debug window. Any recommendations as to how one
might gracefully skirt around a user data entry error of 1.1.1 into a
textbox control expecting a valid numeric entry?
>
>>If I input incorrect data into the immediate window I'd expect an error.
>Garbage in, garbage out. You entered in garbage and expected Access
>>to fix it.
>>
>>You were using a literal value that was incorrectly entered. Then you
>>complain about Access noting the error. Why?
>Garbage in, garbage out. You entered in garbage and expected Access
>>to fix it.
>>
>>You were using a literal value that was incorrectly entered. Then you
>>complain about Access noting the error. Why?
>
Again, point well taken. So, some program code dynamics are difficult
to replicate in the debug window. Any recommendations as to how one
might gracefully skirt around a user data entry error of 1.1.1 into a
textbox control expecting a valid numeric entry?
Entering IsNumeric(1.1.2 ) in Debug is different than entering 1.2.2 in a
textbox. One is a literal, the other what I'd consider a variable. If
bound to a numeric field you would get an error.
If you are running all your functions and subs from debug then you need
to enter in data correctly.
Comment