G
Guest
I have a contiuous form that has a date and time field in the records.
The date defaults to =Date, the time defaults to =Time.
This works great except that as soon as I put in the required fields for a
record, it automatically creates the next record with the current date & time.
What I'd like to do is be able to keep the form open and at some time in the
future, have some way to Update the time in a selected record to the current
time.
I've tried using the "double click" event on the field but it must default
to some standard edit command because it will just highlight the hour or
minutes to edit.
I've tried tieing a macro to the button but something just isn't right.
I'm pretty new to access so this should be pretty easy.
The Macro has "Set Value" action
The Item is [Time] which is the field name and name of the box on the form.
The expression is =Time()
Here is the Error message I get when pushing the macro button:
"The Expression Entered has Invalid Syntax"
"You may have entered an Operand without an Operator
Thanks for any help.
The date defaults to =Date, the time defaults to =Time.
This works great except that as soon as I put in the required fields for a
record, it automatically creates the next record with the current date & time.
What I'd like to do is be able to keep the form open and at some time in the
future, have some way to Update the time in a selected record to the current
time.
I've tried using the "double click" event on the field but it must default
to some standard edit command because it will just highlight the hour or
minutes to edit.
I've tried tieing a macro to the button but something just isn't right.
I'm pretty new to access so this should be pretty easy.
The Macro has "Set Value" action
The Item is [Time] which is the field name and name of the box on the form.
The expression is =Time()
Here is the Error message I get when pushing the macro button:
"The Expression Entered has Invalid Syntax"
"You may have entered an Operand without an Operator
Thanks for any help.