J
Joy M
Hi -
I have a form with a subform. The form is mainly identification. The daily
expenses are entered in the subform. Taxes are involved (which could
change), so I want to save 2 values calculated from the subform: Net Expense
Claimed and Total Taxes, in the bound fields of the parent record (i.e. the
form).
So far I have succeeded in saving these values correctly to unbound
textboxes, TempNet and TempTax on the form.
I would like to save these values into fields in the parent record, so that
INE_Net = TempNet and INE_Tax = TempTax, when I close the form.
INE_Net and INE_Tax are the bound text boxes connected to the fields in the
parent record.
Form : frmInstructorExpense
Subform : frmInstructorExpenseSUBF
So far so good, but I don't know which event to use to save the calculated
values in the bound fields. That is my question. What if I just close the
form after entering all the info in the subform, and do not need to add
anything else to the form. In which event, do I save my numbers into the
parent fields???
Thanks so much,
Joy
I have a form with a subform. The form is mainly identification. The daily
expenses are entered in the subform. Taxes are involved (which could
change), so I want to save 2 values calculated from the subform: Net Expense
Claimed and Total Taxes, in the bound fields of the parent record (i.e. the
form).
So far I have succeeded in saving these values correctly to unbound
textboxes, TempNet and TempTax on the form.
I would like to save these values into fields in the parent record, so that
INE_Net = TempNet and INE_Tax = TempTax, when I close the form.
INE_Net and INE_Tax are the bound text boxes connected to the fields in the
parent record.
Form : frmInstructorExpense
Subform : frmInstructorExpenseSUBF
So far so good, but I don't know which event to use to save the calculated
values in the bound fields. That is my question. What if I just close the
form after entering all the info in the subform, and do not need to add
anything else to the form. In which event, do I save my numbers into the
parent fields???
Thanks so much,
Joy