Hi
I am pretty new to ACCESS. I have created some small databases previously. I need to run a simple query searching for a USERNAME which will gather information from five to ten tables containing seperate bits of information and combine them into a report. The primary key on all of the tables is the username.
AS AN EXAMPLE:
TABLE 1
USERNAME
DATE JOINED
NAME
ADDRESS
TABLE 2
USERNAME
FAVOURITE FILMS
FAVOURITE ACTORS
TABLE 3
USERNAME
DATE OF PURCHASE
FAVOURITE SHOP
I would like to create a search for a single username which would find matching results in each table and then combine the relevant information:
DATE JOINED
NAME
ADDRESS
FAVOURITE FILMS
FAVOURITE ACTORS
DATE OF PURCHASE
FAVOURITE SHOP
all in one report. I am using multiple tables instead of combining the info into one table, because each of the tables is filled in by a different department and seperate tables would prevent confusion for those filling the information in. prevent confusing found it easier so separate the information into individual tables. I thought of doing a UNION query but was unsure how the user would enter their desired query prior to running the UNION query. Please help!!!!!
I am pretty new to ACCESS. I have created some small databases previously. I need to run a simple query searching for a USERNAME which will gather information from five to ten tables containing seperate bits of information and combine them into a report. The primary key on all of the tables is the username.
AS AN EXAMPLE:
TABLE 1
USERNAME
DATE JOINED
NAME
ADDRESS
TABLE 2
USERNAME
FAVOURITE FILMS
FAVOURITE ACTORS
TABLE 3
USERNAME
DATE OF PURCHASE
FAVOURITE SHOP
I would like to create a search for a single username which would find matching results in each table and then combine the relevant information:
DATE JOINED
NAME
ADDRESS
FAVOURITE FILMS
FAVOURITE ACTORS
DATE OF PURCHASE
FAVOURITE SHOP
all in one report. I am using multiple tables instead of combining the info into one table, because each of the tables is filled in by a different department and seperate tables would prevent confusion for those filling the information in. prevent confusing found it easier so separate the information into individual tables. I thought of doing a UNION query but was unsure how the user would enter their desired query prior to running the UNION query. Please help!!!!!
Comment