P
Pyrite
I have a query set up to search for people eligible to access a specified
site. An unbound combo box on a form allows the user to select from a
predefined list of sites, a button then opens another form which displays the
results from the query. In the query the criteria is as follows:
[Forms]![frmQryParam]![cboSiteName]
This is done on an 'or' basis for five site fields as any one person can
have access to up to five sites. For this reason I dont display the site
names on the form displaying the queires results as the user will only be
interested in one site. So basically, the user selects a site name and the
query returns the details (ID No, Forename, Surname) of any one with access
to that site in a form. I would also like to display the site name that the
user has searched for in that form so they can confirm it and also hopefully
realise if they have selected the wrong site by mistake. It is not displaying
a result that I want but the actual parameter used in the search.
Is this possible?
site. An unbound combo box on a form allows the user to select from a
predefined list of sites, a button then opens another form which displays the
results from the query. In the query the criteria is as follows:
[Forms]![frmQryParam]![cboSiteName]
This is done on an 'or' basis for five site fields as any one person can
have access to up to five sites. For this reason I dont display the site
names on the form displaying the queires results as the user will only be
interested in one site. So basically, the user selects a site name and the
query returns the details (ID No, Forename, Surname) of any one with access
to that site in a form. I would also like to display the site name that the
user has searched for in that form so they can confirm it and also hopefully
realise if they have selected the wrong site by mistake. It is not displaying
a result that I want but the actual parameter used in the search.
Is this possible?