M
MichaelHensley
I'm very new to Access. I've created a table (MyTable), and a from (MyForm)
which has all of the fields from the table. For one particular field,
PunchDate, I have added a button (MyButton). When I click on MyButton, I
want the current date inserted into PunchDate.
Based on some reading and newsgroup scanning, I thought what I needed to do
was put the following into the On Click event for the MyButton control:
MyForm.PunchDate = Date
However, that gives me the following error:
Microsoft Office Access can't find the macro 'MyForm'.
The macro (or its macro group) doesn't exist, or the macro is new but
hasn't been saved.
Note that when you enter the macrogroupname.macroname syntax in an
argument, you must specify the name
the macro's macro group was last saved under.
Any suggestions would be greatly appreciated!
which has all of the fields from the table. For one particular field,
PunchDate, I have added a button (MyButton). When I click on MyButton, I
want the current date inserted into PunchDate.
Based on some reading and newsgroup scanning, I thought what I needed to do
was put the following into the On Click event for the MyButton control:
MyForm.PunchDate = Date
However, that gives me the following error:
Microsoft Office Access can't find the macro 'MyForm'.
The macro (or its macro group) doesn't exist, or the macro is new but
hasn't been saved.
Note that when you enter the macrogroupname.macroname syntax in an
argument, you must specify the name
the macro's macro group was last saved under.
Any suggestions would be greatly appreciated!