Hi,
I want to save a calculation from a subform into a table.
Problemsituation:
I have a mainform with a subform in it. In the subform is a calculation with a result (400). This result will be showed in the text box (Verschil fust) in the main form, see attachment.
To show the result I added the following line to the controlcourse of 'Verschil fust' (mainform):
=[Forms]![frmAanvoergegevens]![fsubFustgegevens].[Form]![txtTotaalVerschilFust]
This works perfectly, but I want also to save the result (400) into field of a table.
Problem/question:
Normally is the controlcourse the fieldname of a table but not in this case.
Possible solution:
I move the line of above to the calculation textbox. That means that after the calculation is done, the calculation textbox puts the result in the mainform textbox 'Verschil fust' or in the fieldname of the table. The result will be that 'Verschil fust' shows '400' and it will be saved into the fieldname of the table.
Somebody any ideas how to do this?!?
I want to save a calculation from a subform into a table.
Problemsituation:
I have a mainform with a subform in it. In the subform is a calculation with a result (400). This result will be showed in the text box (Verschil fust) in the main form, see attachment.
To show the result I added the following line to the controlcourse of 'Verschil fust' (mainform):
=[Forms]![frmAanvoergegevens]![fsubFustgegevens].[Form]![txtTotaalVerschilFust]
This works perfectly, but I want also to save the result (400) into field of a table.
Problem/question:
Normally is the controlcourse the fieldname of a table but not in this case.
Possible solution:
I move the line of above to the calculation textbox. That means that after the calculation is done, the calculation textbox puts the result in the mainform textbox 'Verschil fust' or in the fieldname of the table. The result will be that 'Verschil fust' shows '400' and it will be saved into the fieldname of the table.
Somebody any ideas how to do this?!?