Dear experts,
on a form A there are
1. txtRegDate (text box)
2. cmdToday (command button)
clicking cmdToday will fill today's date on txtRegDate
cmdToday has this event:
me.txtRegDate = date
Weird thing is this works on some forms and doesn't on other forms. the error msg is
"Run-time error '2465':
Microsoft Access can't find the field 'date' referred to in your expresson."
I was able to fix this problem by rename any field with 'date' name on it. However, this doesn't fix this problem all the time.
Any advice?
Thank you.
on a form A there are
1. txtRegDate (text box)
2. cmdToday (command button)
clicking cmdToday will fill today's date on txtRegDate
cmdToday has this event:
me.txtRegDate = date
Weird thing is this works on some forms and doesn't on other forms. the error msg is
"Run-time error '2465':
Microsoft Access can't find the field 'date' referred to in your expresson."
I was able to fix this problem by rename any field with 'date' name on it. However, this doesn't fix this problem all the time.
Any advice?
Thank you.