G
Guest
Hi. I am opening a form (WorkOrder) with a subform and am populating the
fields on the subform, using the Default property, with values from the
previous form (Project). The user does not have to enter any other values,
though there is an additional optional field, on the subform. There is a
report button on the main form. If the user does not add data to the optional
field the default data in the subform is not saved to the table and the
report is empty. How can I save the default data in the subform when it is
never updated by the user?
I have tried me.requery in the Open and Activate events of the subform, and
me.SubformHolder.requery in the Open event of the main form. I have tried
me.dirty = false in the Open and Activate events of the subform, and other
stuff. Nothing I've tried saves the record with the default values. I am down
to the wrap-up of this project and need this to work to be finished! Any help
is appreciated.
fields on the subform, using the Default property, with values from the
previous form (Project). The user does not have to enter any other values,
though there is an additional optional field, on the subform. There is a
report button on the main form. If the user does not add data to the optional
field the default data in the subform is not saved to the table and the
report is empty. How can I save the default data in the subform when it is
never updated by the user?
I have tried me.requery in the Open and Activate events of the subform, and
me.SubformHolder.requery in the Open event of the main form. I have tried
me.dirty = false in the Open and Activate events of the subform, and other
stuff. Nothing I've tried saves the record with the default values. I am down
to the wrap-up of this project and need this to work to be finished! Any help
is appreciated.