elephant97
Board Regular
- Joined
- Sep 18, 2002
- Messages
- 63
Hi, I have a form that is used for data entry. My inputs are the following:
Date
Company
Item
Price
What I need to do, is have access search my table storing the information and refuse to save entries where the date and company already exist. So, if the table already has an entry is 8/19/04 for company ABC, a user cannont make another entry for 8/19/04 and company ABC. Rather, I would like access to load the record the user is trying to "overwrite". I suppose this could be accomplished via a VBA record search when the user attempts to save their entry.
My vision is that they would click the "Save" button on the form, an error message would pop-up, and then the record matching their inputted date and company would load.
THANK YOU, THANK YOU!!
Date
Company
Item
Price
What I need to do, is have access search my table storing the information and refuse to save entries where the date and company already exist. So, if the table already has an entry is 8/19/04 for company ABC, a user cannont make another entry for 8/19/04 and company ABC. Rather, I would like access to load the record the user is trying to "overwrite". I suppose this could be accomplished via a VBA record search when the user attempts to save their entry.
My vision is that they would click the "Save" button on the form, an error message would pop-up, and then the record matching their inputted date and company would load.
THANK YOU, THANK YOU!!