Hi,
I created an unbound form with various fields to filter records and I want to link this form to a report or query to view the results.
I've created the form which has about 14 separate criteria to select from and I've created a query that refers back to the form (in the criteria), see sample code below:
Like [Forms]![QBF_FORM]![Analyst]
I also have a date range selection in my form and in the query, I have the following code for that field:
Between [Forms]![QBF_Form]![Beginning] And DateAdd("s",86399,[Forms]![QBF_Form]![Ending])
Problem. I can't get a report or query to return any data? Am I supposed to base the query/report on the "form" or do I base it on the "query"?
Does the above look alright? Do you see anything wrong with what I've indicated?
Any suggestions on how I can get the QBF to work?
I created an unbound form with various fields to filter records and I want to link this form to a report or query to view the results.
I've created the form which has about 14 separate criteria to select from and I've created a query that refers back to the form (in the criteria), see sample code below:
Like [Forms]![QBF_FORM]![Analyst]
I also have a date range selection in my form and in the query, I have the following code for that field:
Between [Forms]![QBF_Form]![Beginning] And DateAdd("s",86399,[Forms]![QBF_Form]![Ending])
Problem. I can't get a report or query to return any data? Am I supposed to base the query/report on the "form" or do I base it on the "query"?
Does the above look alright? Do you see anything wrong with what I've indicated?
Any suggestions on how I can get the QBF to work?