Megacitizen
Registered User.
- Local time
- Today, 13:14
- Joined
- Mar 22, 2012
- Messages
- 130
I need to create a query that, when a button is clicked, will display data in pop up form (subform) regarding the individual members of various teams we are sending to our Focus cities. Whilst we need to pull in data from numerous tables to ascertain which team the individual is a member of (to cover situations where two or more people with the same name come from different Bases and/or Nations), the form would only display two criteria - Name and Nationality (in form of Country name rather than the descriptive form - USA instead of American etc).
Given the nationality of an individual may be different from the nation his/her Base is located in, is there any code required to ensure the query pulls the correct info regarding each criteria. Eg. I'm travelling to our current focus city myself, next month, I'm British but travelling from an Australian Base. I need to ensure the user sees this correctly. (I won't be the user though, I'm just setting everything up for my successor, as I won't be returning to Oz afterwards.)
Also, I need to make sure the same query is run each time the query button is pressed. I presume it's possible to create the macro and link it to the query.
Given the nationality of an individual may be different from the nation his/her Base is located in, is there any code required to ensure the query pulls the correct info regarding each criteria. Eg. I'm travelling to our current focus city myself, next month, I'm British but travelling from an Australian Base. I need to ensure the user sees this correctly. (I won't be the user though, I'm just setting everything up for my successor, as I won't be returning to Oz afterwards.)
Also, I need to make sure the same query is run each time the query button is pressed. I presume it's possible to create the macro and link it to the query.