I am creating a simple database to track fuel for a gas station. When a delivery comes in, I have a form which allows the clerk to enter the amount of fuel before and after the deliver. I would like for the form to come up with the present day, as well as making sure that A.) There is no data entered for that day already and B.) If there is data for the day, then display this data, otherwise simply display a form allowing them to enter the data.
How can I check to see if there is already data entered for Date() (that is today)? And how do I open a form in Add or Edit mode (depending on whether or not there is already data)...
I hope this question is clear enough, I am totally brain-logged right now, and the only thing I could think of (off-hand) is to maybe see if anyone in Tek-Tips might know what I am trying to do...
TIA
John Vogel
john@thecompuwizard.com
How can I check to see if there is already data entered for Date() (that is today)? And how do I open a form in Add or Edit mode (depending on whether or not there is already data)...
I hope this question is clear enough, I am totally brain-logged right now, and the only thing I could think of (off-hand) is to maybe see if anyone in Tek-Tips might know what I am trying to do...
TIA
John Vogel
john@thecompuwizard.com