Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Visual Basic, Enterprise
Expertise: Intermediate
Feb 8, 1999

Stop Data Input Errors Before They Start

When developing a database program, always keep the data-input user in mind. The most elegant program in the world is useless if the data is riddled with errors. If a database field requires integers and no text, or text and no integers, the best way to prevent input errors is to use the VB5 KeyPress event to filter out unacceptable input. The KeyPress event can examine each keystroke as it occurs, and accept or reject it on the basis of any criteria you choose. Clever input filtering will save a lot of error-checking time at the other end.
Steve Renaker
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date