Change query criteria value? (1 Viewer)

Gunnerp245

Gunner
Local time
Yesterday, 21:39
Joined
Jan 16, 2006
Messages
39
I have a database with 20 queries designed specifically for my department (SAM). A friend would like to use my database i.e. queries, reports, etc., but her department is named different (PAM).

The the field names in the each of our imported 'data' is the same, EXCEPT, each record in her department data field has "PAM" mine "SAM". However, her department is not part of my data import nor mine of hers nor will they ever be.

How can I, except manually, change every instance of "SAM" to "PAM" in the 20 queries?

Thanks
Gunner...:confused:
 

Mile-O

Back once again...
Local time
Today, 02:39
Joined
Dec 10, 2002
Messages
11,316
Rather than do this, create a combobox on a form with PAM and SAM as options. Then change PAM or SAM to [Forms]![YourFormName]![YourComboName] in your queries.

You can make this more user friendly with a good functional form.
 

Users who are viewing this thread

Top Bottom