Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Warn user if Duplicate Exists

Status
Not open for further replies.

mwheads

Programmer
Apr 24, 2004
38
ZA
Hi All

I have got a BANKACCOUNT field that I don't want to make a indexed field but I want to warn the user with a messagebox (on exit of the BANKACCOUNT textbox) that the field exists for CONTRACTOR or list thereof.
The user could then choose to use the existing record with a CASE Y/N or see if the other is adequate.

Anybody familiar with this or a more efficient way?

*The BANKACCOUNT must support Duplicates.

 
You may take a look at the DLookUp function.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top