@Ken Sheridan - I hadn't thought of that issue since it was a new form. So I tried that, and it does the same exact thing.
So there is nothing in the Form Load event for the main form at all and there is no record source on the main form.
First task is select a company from a combo box. That fires the After Update event. That event shows a textbox populated and then shows a ListBoxto select a sub-company from. That fires the After Update event from the ListBoxwhen then shows another ListBoxwith multiple orders listed. Once the user selects a specific order in the last ListBox, then the two subforms become visible and show the data for the selected order in the ListBox.
I'm just stumped as to what I have done incorrectly. I'll include my code here in case there is something that I'm completely missing.
Main ComboBox to select the company (cboCustomers)
Second selection is a ComboBox (cboNatlAccounts)
Third selection is to select a specific order (listFreightTerms)
That is all the code involved in this form.
Private Sub cboCustomers_AfterUpdate()
NationalAccounts_Label.Visible = True
Me.cboNatlAccounts = Null
Me.cboNatlAccounts.Visible = True
cboNatlAccounts.Requery
Me.listFreightTerms = Null
QuoteDate_Textbox.Visible = False
QuoteDate_Label.Visible = False
lblQuoteID.Visible = False
QuoteID_Textbox.Visible = False
CompanyID_Label.Visible = True
CompanyID_txtbox.Visible = True
CompanyID_txtbox.Requery
listFreightTerms.Visible = False
frmModQuotes.Visible = False
frmModQuoteDetail.Visible = False
End Sub
Private Sub cboNatlAccounts_AfterUpdate()
lblFreightTerms.Visible = True
listFreightTerms.Visible = True
listFreightTerms.Requery
Me.listFreightTerms = Null
End Sub
Private Sub listFreightTerms_AfterUpdate()
frmModQuotes.Visible = True
frmModQuoteDetail.Visible = True
QuoteDate_Textbox.Visible = True
QuoteDate_Label.Visible = True
QuoteDate_Textbox.Requery
QuoteID_Textbox.Visible = True
lblQuoteID.Visible = True
QuoteID_Textbox.Requery
Me.frmModQuotes.Form.Filter = "[QuoteID]=" & Me.listFreightTerms.Value
Me.frmModQuotes.Form.FilterOn = True
frmModQuotes.Requery
Me.frmModQuoteDetail.Form.Filter = "[QuoteID]=" & Me.listFreightTerms.Value
Me.frmModQuoteDetail.Form.FilterOn = True
frmModQuoteDetail.Requery
End Sub