earlrainer
Programmer
I have a application (MDI application with about 50 child forms).
Now users sometimes types in characters like ' , etc which create problem when i insert data into database.
I want to prevent user from typing such characters.
One way i can do is write Onkeydown event of all forms and say key:=#0
but this is tedious task to write in all forms
is there a simple way to achieve this for example maybe write code just in the MDI main form
Thanks
Now users sometimes types in characters like ' , etc which create problem when i insert data into database.
I want to prevent user from typing such characters.
One way i can do is write Onkeydown event of all forms and say key:=#0
but this is tedious task to write in all forms
is there a simple way to achieve this for example maybe write code just in the MDI main form
Thanks