[DUG] Validate data entry
Marshland Engineering
marshland at marshland.co.nz
Wed Jun 1 21:10:47 NZST 2011
I'm entering quite a lot of data from different forms into a single database. I need to validate the data on each entry point on each form.
If I use a OnKeyPress, I can write a routine to get what I want, but I would like to use the routine directly off the field in the DataModule and not on each form.
In the DM, the OnValidate only checks the data when it is about to be written which is too late.
The main problems are numbers in the incorrect format ie 2 decimal points, or multiple signs etc. A maximum and minimum range would be a real bonus.
How do I do this ?
Thanks Wallace
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20110601/2ced3716/attachment.html
More information about the Delphi
mailing list