Kckronic21
Programmer
I have a problem. I am trying to create a dymanic query on a form. Here is my SQL statement:
SELECT [Forms]![Select_Form]![Table_txtbox].[Forms]![Select_Form]![Field_txtbox]
FROM [Forms]![Select_Form]![Table_txtbox]
WHERE ((([Forms]![Select_Form]![Table_txtbox].[Forms]![Select_Form]![Field_txtbox])=[Forms]![Select_Form]![City_txtbox]));
I have created the necessary textboxes on the form and a button that runs the query, but it will not work.
Please tell me what I am doing wrong. Thanks!!!
SELECT [Forms]![Select_Form]![Table_txtbox].[Forms]![Select_Form]![Field_txtbox]
FROM [Forms]![Select_Form]![Table_txtbox]
WHERE ((([Forms]![Select_Form]![Table_txtbox].[Forms]![Select_Form]![Field_txtbox])=[Forms]![Select_Form]![City_txtbox]));
I have created the necessary textboxes on the form and a button that runs the query, but it will not work.
Please tell me what I am doing wrong. Thanks!!!