Noreene Patrick
Registered User.
- Local time
- Today, 12:09
- Joined
- Jul 18, 2002
- Messages
- 223
I know this is a simple question but I just cant seem to get it right.
I have a form that is run by a query...the query filters out all records from the table that match the dayofweek I input..for instance, when form opens popup box asks what day? and I input Monday...all records with shipday monday appear in my form in datasheet view....
I want my date field in form to input the date on all records..my code that I entered says: on form load if Isnull(me.txtthisday.value) then
me.txtthisday.value = now() endif (I tried to put date() but my parenthesis always erased)
It puts the date on the first record, but I need every record to automatically have the date inserted when I open the form.
What am I doing wrong?
Thanks, Noreene
I have a form that is run by a query...the query filters out all records from the table that match the dayofweek I input..for instance, when form opens popup box asks what day? and I input Monday...all records with shipday monday appear in my form in datasheet view....
I want my date field in form to input the date on all records..my code that I entered says: on form load if Isnull(me.txtthisday.value) then
me.txtthisday.value = now() endif (I tried to put date() but my parenthesis always erased)
It puts the date on the first record, but I need every record to automatically have the date inserted when I open the form.
What am I doing wrong?
Thanks, Noreene