(Access 2010)
Hello all,
It's been a long time since I've fooled around with Access and have an issue that I could use some help with...
I have a form containing a subform. The main form has 1 combo box linked to another table.
The subform record set is from a query. The query criteria is from the cbo on the main form and I have but a little vba behind the combo box on the main form to run the query to ensure it is working. The subform based on the query never populates but
the query will open and work correct however... I do not want it to open (I know its written in the code to open) and its not populating my subform thats based on the query.
Hope I explained all that correct. Anyway, hope you all can help me figure this out.
Thanks!
Hello all,
It's been a long time since I've fooled around with Access and have an issue that I could use some help with...
I have a form containing a subform. The main form has 1 combo box linked to another table.
The subform record set is from a query. The query criteria is from the cbo on the main form and I have but a little vba behind the combo box on the main form to run the query to ensure it is working. The subform based on the query never populates but
the query will open and work correct however... I do not want it to open (I know its written in the code to open) and its not populating my subform thats based on the query.
Hope I explained all that correct. Anyway, hope you all can help me figure this out.
Thanks!
Code:
Private Sub cboPlatformSelect_Change()
Dim cboPlatformSelect As Control
DoCmd.OpenQuery "EquipmentQuery"
DoCmd.Requery
End SubPrivate Sub cboPlatformSelect_Change()
Dim cboPlatformSelect As Control
DoCmd.OpenQuery "EquipmentQuery"
DoCmd.Requery
End Sub