Please could someone help.
I am trying to get a main form field to match a calculated field if a certain tick box is unticked but i can't seem to do it.
Database is attached.
If you change one of the amounts in the subform, you will see the calculated qtyLeft field is updated (due to the DoCmd.RunCommand acCmdSaveRecord) but the AmountLeft field is not updated.
In the 'OnCurrent' event for the main form i have remarked out what i thought would have worked but it didn't.
P.S. The reason there is a calculated field and a field that is written back to the table is so i can override the amount left with the 'empty' tickbox - this bit works a treat.
Any help would be great.
I am trying to get a main form field to match a calculated field if a certain tick box is unticked but i can't seem to do it.
Database is attached.
If you change one of the amounts in the subform, you will see the calculated qtyLeft field is updated (due to the DoCmd.RunCommand acCmdSaveRecord) but the AmountLeft field is not updated.
In the 'OnCurrent' event for the main form i have remarked out what i thought would have worked but it didn't.
P.S. The reason there is a calculated field and a field that is written back to the table is so i can override the amount left with the 'empty' tickbox - this bit works a treat.
Any help would be great.