S
Silvio
This is what I have:
1) A tblLocation with 3 numerical records called OfficeID (1,2,3)
2) A query called qryData based on the tblData. The Criteria in the query is
set to 1 so I can retrieve only data for office 1
3) I have a form with a Combo Box on it called ComboOffice based on data
from tblLocation.
What I am trying to do is to use the combo box to ***permanently*** change
the value in my qryData criteria from 1 to 2 or 3. In few words even if I
close the form the query need to retain the new Criteria. (I know I can place
in the query criteria something like [Forms]![MyForm]![ComboOffice] but this
require that my form is open and once I close the form the value selected is
lost - I don't want the query to permanently depend on the form to run, I
want it to depend on the set criteria in it only)
Can anyone help?
1) A tblLocation with 3 numerical records called OfficeID (1,2,3)
2) A query called qryData based on the tblData. The Criteria in the query is
set to 1 so I can retrieve only data for office 1
3) I have a form with a Combo Box on it called ComboOffice based on data
from tblLocation.
What I am trying to do is to use the combo box to ***permanently*** change
the value in my qryData criteria from 1 to 2 or 3. In few words even if I
close the form the query need to retain the new Criteria. (I know I can place
in the query criteria something like [Forms]![MyForm]![ComboOffice] but this
require that my form is open and once I close the form the value selected is
lost - I don't want the query to permanently depend on the form to run, I
want it to depend on the set criteria in it only)
Can anyone help?