G
Guest
Ive tried making a new query that uses the results of another query as the
selection criteria for the new query. The Criteria refer to a query called
[QryClinicButton1] with the field being [ClinicLocation] as below;
[QryClinicButton1]![ClinciLocation]
However this does not work, I get the message
"Enter parameter value" - QryClinicButton1!ClinciLocation.
When I "write" the results of the first query to a form, and then run the
second query criteria from the form 9which has to be open) it all works.
(Query criteria = [Forms]![FrmClinicButtonDisplay1]![ClinicLocation].
But this seems messy and longwinded, and with each of these queries
demanding an open form the user interface becomes cluttered with open forms
that the user does not actually need to see, Is there a better way?
Thanks Tim
selection criteria for the new query. The Criteria refer to a query called
[QryClinicButton1] with the field being [ClinicLocation] as below;
[QryClinicButton1]![ClinciLocation]
However this does not work, I get the message
"Enter parameter value" - QryClinicButton1!ClinciLocation.
When I "write" the results of the first query to a form, and then run the
second query criteria from the form 9which has to be open) it all works.
(Query criteria = [Forms]![FrmClinicButtonDisplay1]![ClinicLocation].
But this seems messy and longwinded, and with each of these queries
demanding an open form the user interface becomes cluttered with open forms
that the user does not actually need to see, Is there a better way?
Thanks Tim