Hmm, this is a little bit off topic... but Could ( on your example ) be replace cbostate with a label?
I am trying to do this...
SELECT [tblTest].[Problem] FROM tblTest
WHERE ((([tblTest].[Atype])=[Forms]![frmMainnew]![lblAtype]))
ORDER BY [tblTest].[Problem];
Or to keep it in your example...
Code:
SELECT [Cities].[City] FROM Cities
WHERE ((([Cities].[State])=[Forms]![CascadingComboSample]![cboState1]))
ORDER BY [Cities].[City];
I want to do this
SELECT [Cities].[City] FROM Cities
WHERE ((([Cities].[State])=[Forms]![CascadingComboSample]![lblState1]))
ORDER BY [Cities].[City];
The Label value or caption is dependent on a webpage variable.. for example, currently lblAtype is set to "laser printer"
Then in the tbltest I have 2 columns. One with Atype and another with Problem.
Under Atype, I have "laser printer" and then in the other column I have a list of problems for that Atype. All of this is on a form named "frmMainnew"..