Re: Replace: Problems stripping out Comma for a Integer field

Tech-Archive recommends: Fix windows errors by optimizing your registry



jason@xxxxxxxxxxxxxxx wrote:

Interesting problem: If a user puts a Comma into an integer field I will get a data type error.

I tried Replacing it with a blank space:

Code should not change data in a correctly- or incorrectly-entered form field (unless it notifies the user and asks permission).


The user made a mistake. Modify the code to trap the error and prompt the user for correct entry.
.