Hello all,
I'm working on a form in Access 2000 with a subform in it. This subform is based off a query that uses a control in the main form to filter data. My problem is that when I load the main form, at first the subform doesn't have any records visible, although the labels still show up fine. When I click on the subform area, Poof!, all the records show up.
The only guess I have is that Access must load subforms first, then main forms, causing no records to be pulled up in my query the first time through, and then when I give the subform focus again, it finds new matches.
I've tried a lot of code (especially with .Refresh and .Requery) in many of the form and subform functions, but nothing is working. Is there anyway I can get the subform to automatically load those records when the main form is opened?
Thanks in advance!
I'm working on a form in Access 2000 with a subform in it. This subform is based off a query that uses a control in the main form to filter data. My problem is that when I load the main form, at first the subform doesn't have any records visible, although the labels still show up fine. When I click on the subform area, Poof!, all the records show up.
The only guess I have is that Access must load subforms first, then main forms, causing no records to be pulled up in my query the first time through, and then when I give the subform focus again, it finds new matches.
I've tried a lot of code (especially with .Refresh and .Requery) in many of the form and subform functions, but nothing is working. Is there anyway I can get the subform to automatically load those records when the main form is opened?
Thanks in advance!