T
TomS
I have tried to without success to have a calulated time elapsed field in my
subform. It involves an original date on the main form and a later date in
the subform. I want the calculated time to be on the subform.
Here is my control:
=DateDiff("ww", [Forms]![MainFormName][Date], [Visit Date])
and I get #NAME? from this.
I cannot get it to recognize the main form date. What should I do to fix
this? I cannot put the main form date on the subform because of the join
properties. I've tried running the calculation in a query which returns
correct values, but I also got #NAME? when I set this as the control source
for the control on the subform.
=[Queries]![Date Query]![Time]!
subform. It involves an original date on the main form and a later date in
the subform. I want the calculated time to be on the subform.
Here is my control:
=DateDiff("ww", [Forms]![MainFormName][Date], [Visit Date])
and I get #NAME? from this.
I cannot get it to recognize the main form date. What should I do to fix
this? I cannot put the main form date on the subform because of the join
properties. I've tried running the calculation in a query which returns
correct values, but I also got #NAME? when I set this as the control source
for the control on the subform.
=[Queries]![Date Query]![Time]!