Rockape
Registered User.
- Local time
- Today, 22:59
- Joined
- Aug 24, 2007
- Messages
- 271
Hi all,
I need some starting help with some code.
I have a field name called "reference" and these references are stored in the table called tbl_personnel.
I have a form called "frm_input" and a box named "ref". It is through this box that i enter the data for "reference" in the tbl_personnel.
I need code that will prevent me from continuing entering more data if it finds that a number being entered already exists in the database (as part of some other record).
I have looked at dlookup, but i have never used it as part of an If command.
Grateful for some help.
cheers to all
I need some starting help with some code.
I have a field name called "reference" and these references are stored in the table called tbl_personnel.
I have a form called "frm_input" and a box named "ref". It is through this box that i enter the data for "reference" in the tbl_personnel.
I need code that will prevent me from continuing entering more data if it finds that a number being entered already exists in the database (as part of some other record).
I have looked at dlookup, but i have never used it as part of an If command.
Grateful for some help.
cheers to all
Last edited: