R
RBDU
Hi All! thanking anyone for a reply. A97.
I have a subform (datasheet) on my mainform, linked by [ID] that is
visible - No.
When the user gets clicks on a button to add [operator names] the subform
becomes visible.
The subform has two columns and when data is entered in the first column the
second column counts the data.
This column is hidden.
On the main form I have a reference in an unbound textbox, called [total]
which takes the total count in the subform. This is not visible and updates
straight away with the correct total on exiting the subform.
On the subform exit, the subform becomes invisible.
Now, on the main form I have the field [numberofoperators] which is:
Me.numberofoperators = Me.total
but this does not update straight away where the unbound text box does.
Is this because the subform is set to invisible on exit where if it was
closed the updating of the field [numberofoperators] would be updated
correctly.
How do I get it to update correctly?
Regards Peter McCartney
I have a subform (datasheet) on my mainform, linked by [ID] that is
visible - No.
When the user gets clicks on a button to add [operator names] the subform
becomes visible.
The subform has two columns and when data is entered in the first column the
second column counts the data.
This column is hidden.
On the main form I have a reference in an unbound textbox, called [total]
which takes the total count in the subform. This is not visible and updates
straight away with the correct total on exiting the subform.
On the subform exit, the subform becomes invisible.
Now, on the main form I have the field [numberofoperators] which is:
Me.numberofoperators = Me.total
but this does not update straight away where the unbound text box does.
Is this because the subform is set to invisible on exit where if it was
closed the updating of the field [numberofoperators] would be updated
correctly.
How do I get it to update correctly?
Regards Peter McCartney