e777akerson
Technical User
I have never tried this before and it may be a lot simpler than it appears. I want to make a combo box on a Form called MakeMonthSelect. I want the combo box selected value to populate five text boxes which won't be visible. The value in these five text boxes would be the criteria in the MonthName field for five crosstab queries. Can I then make a macro to run all five crosstab queries in a row thereby having them use the original combo box selected value for the criteria?
The suggested code used to populate the text boxes is:
Private Sub cboNames_AfterUpdate()
Me.txtFirstCTQry1=Me!cboNames.value
Me.txtFirstCTQry2=Me!cboNames.value
Me.txtFirstCTQry3=Me!cboNames.value
and so on
End Sub
Will this work or is there an easier way with minimal coding?
Eric Akerson
The suggested code used to populate the text boxes is:
Private Sub cboNames_AfterUpdate()
Me.txtFirstCTQry1=Me!cboNames.value
Me.txtFirstCTQry2=Me!cboNames.value
Me.txtFirstCTQry3=Me!cboNames.value
and so on
End Sub
Will this work or is there an easier way with minimal coding?
Eric Akerson