G
Guest
I have a form called GCS with the following fields on it as textboxes which
pull values from an underlying table called GCS.
Cleaning Total
Tax Amount
Tax Rate
Additionally there is another textbox called Order Total which has the
following formula under the Control Source
=Nz([txtCleaningTotal])+Nz([txtTaxAmount])
This calculates the value of Order Total as desired but I can not figure out
how to write the value of Order Total back to the Order Total field in the
GCS table.
I've set-up in Event tab, After Update this code
UPDATE [GCS] SET GCS.OrderTotal = [Forms]![GCS]![txtOrderTotal] WHERE
(((GSC.CleaningOrderID)=[Forms]![GCS]![txtOrderTotal]));
***CleaningOrderID is primery key of GCS table
Thanks in advance for your help.
pull values from an underlying table called GCS.
Cleaning Total
Tax Amount
Tax Rate
Additionally there is another textbox called Order Total which has the
following formula under the Control Source
=Nz([txtCleaningTotal])+Nz([txtTaxAmount])
This calculates the value of Order Total as desired but I can not figure out
how to write the value of Order Total back to the Order Total field in the
GCS table.
I've set-up in Event tab, After Update this code
UPDATE [GCS] SET GCS.OrderTotal = [Forms]![GCS]![txtOrderTotal] WHERE
(((GSC.CleaningOrderID)=[Forms]![GCS]![txtOrderTotal]));
***CleaningOrderID is primery key of GCS table
Thanks in advance for your help.