G
Guest
Hello,
I have been attempting to use a form to define criteria for a query which is
used as the source for a report. In the query I have the criteria for column
"company" set to "[Forms]![Select company]![Company]". In the form, I have a
list box which is bound to another table "tblCompany" which has a list of all
of the companies that are available in my DB.
When I run the report, the form comes up, I can select 1 or more companies,
and then I can click on the OK button. The report then displays but the
report is empty (no records). If I set the query criteria to prompt the user
for the company (i.e. "[Enter company]" the report works fine. This tells me
that the value I am selecting in the form isn't getting passed into the query.
Any help would be appreciated...
I have been attempting to use a form to define criteria for a query which is
used as the source for a report. In the query I have the criteria for column
"company" set to "[Forms]![Select company]![Company]". In the form, I have a
list box which is bound to another table "tblCompany" which has a list of all
of the companies that are available in my DB.
When I run the report, the form comes up, I can select 1 or more companies,
and then I can click on the OK button. The report then displays but the
report is empty (no records). If I set the query criteria to prompt the user
for the company (i.e. "[Enter company]" the report works fine. This tells me
that the value I am selecting in the form isn't getting passed into the query.
Any help would be appreciated...