Hi all,
Hope you are well in this very cold new year (Dublin, Ireland).
I have a table set up, called Work Date, with a field called Work Date, default value set to
.
I have an Autoexec macro set up, so that it opens up a form that has been created based on this table, so that the user can insert a date, either accepting the default or entering a new one.
However, I have also a new form Data Entry based on another table (no relationships defined yet), called Data Entry which has a Date field.
What I want to do is have this Date field default to the value in the Work Date table's Work Date field, but also to remain editable.
Do I need to use the Before Insert event? I have tried this with
but it reports errors.
What else can I do?
Thanks in advance for anyone's help....
Datalore
Hope you are well in this very cold new year (Dublin, Ireland).
I have a table set up, called Work Date, with a field called Work Date, default value set to
Code:
Format(Now(), "dd/mm/yyyy")
I have an Autoexec macro set up, so that it opens up a form that has been created based on this table, so that the user can insert a date, either accepting the default or entering a new one.
However, I have also a new form Data Entry based on another table (no relationships defined yet), called Data Entry which has a Date field.
What I want to do is have this Date field default to the value in the Work Date table's Work Date field, but also to remain editable.
Do I need to use the Before Insert event? I have tried this with
Code:
[Date] = [Work Date]![Work Date]
What else can I do?
Thanks in advance for anyone's help....
Datalore