O
Opal
I know that when you open or load a form you can put the following:
DoCmd.GoToRecord , , acNewRec
to create a new record so that the bound form does not retrieve the
1st record in the table . But here is my dilemma. I have a bound
form where data is updated by several users at different times in the
day. I do not want the form to open on a blank record but rather
bring up the day's record. However, on the next day, I want a blank
record to start off the day. I have
a text box (txtDate) that has a default value of "=Date(). How can I
write a statement that tells
the form 'On Load' to only bring up a new record if the day has
changed? Or if the date has not changed to bring up that day's
record? I only want one record in the table per date, not multiple
records with only fragments of information. Can anyone help? Thank
you!
DoCmd.GoToRecord , , acNewRec
to create a new record so that the bound form does not retrieve the
1st record in the table . But here is my dilemma. I have a bound
form where data is updated by several users at different times in the
day. I do not want the form to open on a blank record but rather
bring up the day's record. However, on the next day, I want a blank
record to start off the day. I have
a text box (txtDate) that has a default value of "=Date(). How can I
write a statement that tells
the form 'On Load' to only bring up a new record if the day has
changed? Or if the date has not changed to bring up that day's
record? I only want one record in the table per date, not multiple
records with only fragments of information. Can anyone help? Thank
you!