M
Mike
Hi,
I have made a from called frmTransaction_New to be a
subform on another for called frmInvoice_New. ON the
frmTransaction_New, I have this feild that totals
UnitsIn*Quantity and show the value on the form. I have
also another feild named GrandTotal to save the
calculated value in the table for that specific item. In
the onClick property of this GrandTotal I have placed a
Macro to set the value of this feild. The expression work
on the frmTransaction-New, but as the subform, it wont, I
get an error message saying the form is not open or may
not exist.
here is the expression:
[Forms]![frmTransaction_New]![GrandTotal]
([Forms]![frmTransaction_New]![Quantity]*[Forms]!
[frmTransaction_New]![UnitCost]+[Forms]!
[frmTransaction_New]![MiscCost])
I can't figure it out of why? It is looking for the
actual frmTransaction to be opened, and if it is open,
the Macro works. Is there a workaround? or a solution to
this current issue?
Thank you in advance for your help.
Regards,
Mike
I have made a from called frmTransaction_New to be a
subform on another for called frmInvoice_New. ON the
frmTransaction_New, I have this feild that totals
UnitsIn*Quantity and show the value on the form. I have
also another feild named GrandTotal to save the
calculated value in the table for that specific item. In
the onClick property of this GrandTotal I have placed a
Macro to set the value of this feild. The expression work
on the frmTransaction-New, but as the subform, it wont, I
get an error message saying the form is not open or may
not exist.
here is the expression:
[Forms]![frmTransaction_New]![GrandTotal]
([Forms]![frmTransaction_New]![Quantity]*[Forms]!
[frmTransaction_New]![UnitCost]+[Forms]!
[frmTransaction_New]![MiscCost])
I can't figure it out of why? It is looking for the
actual frmTransaction to be opened, and if it is open,
the Macro works. Is there a workaround? or a solution to
this current issue?
Thank you in advance for your help.
Regards,
Mike