Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Subform open up blank

Status
Not open for further replies.

Ebes1099

Technical User
Jul 8, 2009
156
US
I have a subform in my main form and I'm controlling the subform's recordsource using a ComboBox and some VBA code. Whenever a group is selected from the combo box, the record source on the subform is set to show each instance of that group from a table.

My problem is that when I close the form and reopen it, the subform show's the record that was last looked at. I tried doing a requery on the subform on tee main form's Open and Load properties but it didn't work. How can I get it to open up blank every time?
 
Why not simply hide the subform until a selection is made from the combo-box. Just my 2-cents... htwh

Steve Medvid
IT Consultant & Web Master

Chester County, PA Residents
Please Show Your Support...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top