L
.Len B
I have a form with a subform.
The form is based on a query (single table, subset of fields).
The subform is based on a related table (the many side).
All standard stuff really.
The subform is a single form not continuous.
It has a cmdSave button whose Click event will save the detail record,
then clear the form and be ready to enter another detail record for
the same parent.
Here is the code I have -
DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70
DoCmd.GoToRecord , , acNewRec
Me.Parent.Requery 'do I really need this? Does it hurt?
I have a nagging feeling that I am overlooking something but I can't
put my finger on anything.
What have I missed? Am I worrying about nothing?
TIA
The form is based on a query (single table, subset of fields).
The subform is based on a related table (the many side).
All standard stuff really.
The subform is a single form not continuous.
It has a cmdSave button whose Click event will save the detail record,
then clear the form and be ready to enter another detail record for
the same parent.
Here is the code I have -
DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70
DoCmd.GoToRecord , , acNewRec
Me.Parent.Requery 'do I really need this? Does it hurt?
I have a nagging feeling that I am overlooking something but I can't
put my finger on anything.
What have I missed? Am I worrying about nothing?
TIA