I am getting myself confused about this. Some google searches turned up an example from Blue Claw Database Design and an example called Dependent Combo Box. In there the form has two combo boxes but no sub forms, and it does not seem to use a query going directly to the table.
But it is rather simplistic.
Maybe I should simplify to a couple of simple questions. I have too many options and need to narrow down my problem space.
First: Should I build my form so that it accesses the three tables directly, or from one, two, or maybe three queries? Maybe once I get that nailed down, I can work this some more and see what happens.
Second: I tried to fill in a text box by using an After Update event for the combo box:
Code:
Private Sub cboSelectClub_AfterUpdate()
Me.txtClubType = [tbl_Golf_Clubs].[Club_Type]
End Sub
The error is "...can't find the field '|' referred to in your expression."
I don't see any '|' in my expression. Maybe it will help to include the "Row Source" field for the combo box that drives this statement:
Code:
SELECT tbl_Golf_Clubs.Golf_Club_Index, tbl_Golf_Clubs.Golf_Club_Name FROM tbl_Golf_Clubs ORDER BY [Golf_Club_Name];
I hope this isn't too much to ask of a forum and volunteer advice.
Thank you,
Bryan