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.