I have a mainform with a subform when it opens I would like to have all the records in the subform listed. It works fine if I click in the subform and SHIFT+F9 but I can't get it to show the records when it opens.
I have the main form it is with, opens on a control button from a previous form. So do I requery when the main form opens, or in the ON open of the subform?
have tried so many ways, can't get anything to work except shiftF9
tried
forms!mainform!subform.form.requery
forms!mainform!subform.requery
mainform!subform.requery
forms.mainform.subform.form.requery
DoCmd subform.requery
Can't seem to find the right combo to get this to work, not sure where exactly to do it.
I have the main form it is with, opens on a control button from a previous form. So do I requery when the main form opens, or in the ON open of the subform?
have tried so many ways, can't get anything to work except shiftF9
tried
forms!mainform!subform.form.requery
forms!mainform!subform.requery
mainform!subform.requery
forms.mainform.subform.form.requery
DoCmd subform.requery
Can't seem to find the right combo to get this to work, not sure where exactly to do it.