Hi guys,
I have a form where which is bound on an Employee table with the following fields:
EmployeeID
first name
Last name
On this form, I have a subform where there is a date text box with a default value of date(). Employee of a specific ID enters information in the subform (filling in numbers for a report).
Now what I want is that: The user will open the form for the first time on
October 1st, for example, and the form will be blank. Any subsequent
times the user opens the form on Oct 1st it will default to the
same record in the table for that day so that more information
can be added to that record. On October 2nd, the form will be
blank once again
Also, the main form is linked to subform using employeeID!!
Now from searching on google n stuff, I found that using
"DoCmd.OpenForm "subform", , , "txtDate = date()" works for the subform! but it doesn't work when I open the main form!!
how should I make this happen? thanks
I have a form where which is bound on an Employee table with the following fields:
EmployeeID
first name
Last name
On this form, I have a subform where there is a date text box with a default value of date(). Employee of a specific ID enters information in the subform (filling in numbers for a report).
Now what I want is that: The user will open the form for the first time on
October 1st, for example, and the form will be blank. Any subsequent
times the user opens the form on Oct 1st it will default to the
same record in the table for that day so that more information
can be added to that record. On October 2nd, the form will be
blank once again
Also, the main form is linked to subform using employeeID!!
Now from searching on google n stuff, I found that using
"DoCmd.OpenForm "subform", , , "txtDate = date()" works for the subform! but it doesn't work when I open the main form!!
how should I make this happen? thanks