Hi everyone,
I wonder if someone can help.
I want to put this code in a VBA and I can’t get it to work
i.e.: cmb_Subbie.RowSource = Select qry_Grouped_Subcontractors.Subcontractor from qry_Grouped_Subcontractors union select “(All)” from qry_Grouped_Subcontractors order by qry_Grouped_Subcontractors.Subcontractor;
If I put the above in a combo Row Source it works fine but I have 4 different criterias and I want to change the code based on value selected by the user.
I appreciate your help.
I wonder if someone can help.
I want to put this code in a VBA and I can’t get it to work
i.e.: cmb_Subbie.RowSource = Select qry_Grouped_Subcontractors.Subcontractor from qry_Grouped_Subcontractors union select “(All)” from qry_Grouped_Subcontractors order by qry_Grouped_Subcontractors.Subcontractor;
If I put the above in a combo Row Source it works fine but I have 4 different criterias and I want to change the code based on value selected by the user.
I appreciate your help.