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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DLookup in Form for duplicates accounts

Status
Not open for further replies.

mauricionava

Programmer
Jul 8, 2005
209
US
Hello there,

I have a form linked to tblMain. In the form I have to enter some data (acct number, buyers name, etc). I want the Save button to do a DLookUp on the ACCT field in the tblMain to see if the account has already been entered in the table. I would like to display a message that would say "Please change the account number". Thank you!!!

 
This is a forum for Visual Basic 5& 6; try posting in the Access Forms or VBA forum for better results.
Good Luck!

"Business conventions are important because they demonstrate how many people a company can operate without."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top