T
Trish
I am using Access 2000. I am working through a past exam paper to do with
integrating data. Initially I have to set up two tables in Access. The
first is called Costumes, with the following headings:
Activity Name Cost for Actor Hire time Costume Hire Only Description
I only want to concentrate on the Activity Name for the moment, which is the
primary key. The data is:
Spiderman
Alice in Wonderland
Peter Pan
Clown
Lion King
Madonna
etc
The second table is called Actors, which has a number of fields, including
Activity Name (Primary Key). The data is this field contains more than one
activity, separated by a comma, eg Spiderman, Peter Pan.
I have set up a relationship between Costumes and Actors, using Activity Name.
All of the above are givens, ie they are stated in the exam paper.
The first query I have to do is to find ALL information using Activity Name,
Cost for Actor, Hire Time and Costume Hire Only. It returned four results,
whereas there are ten records. Any idea where I went wrong?
The second query is even more troubling ... I have to find out the names and
addresses of any actors who can perofrm the Peter Pan party game. This
query only returned one, which is the instance where Peter Pan is on its own.
The Actors table had two records that showed Peter Pan with another
activity, separated by a comma, and these were not returned. I have tried
several things in the criteria, to no avail.
I know this is lengthy and longwinded, but I wanted to give you as much
background as possible. I really would like to get this right and
understand it properly.
I look forward to an early response! Thanks in advance.
integrating data. Initially I have to set up two tables in Access. The
first is called Costumes, with the following headings:
Activity Name Cost for Actor Hire time Costume Hire Only Description
I only want to concentrate on the Activity Name for the moment, which is the
primary key. The data is:
Spiderman
Alice in Wonderland
Peter Pan
Clown
Lion King
Madonna
etc
The second table is called Actors, which has a number of fields, including
Activity Name (Primary Key). The data is this field contains more than one
activity, separated by a comma, eg Spiderman, Peter Pan.
I have set up a relationship between Costumes and Actors, using Activity Name.
All of the above are givens, ie they are stated in the exam paper.
The first query I have to do is to find ALL information using Activity Name,
Cost for Actor, Hire Time and Costume Hire Only. It returned four results,
whereas there are ten records. Any idea where I went wrong?
The second query is even more troubling ... I have to find out the names and
addresses of any actors who can perofrm the Peter Pan party game. This
query only returned one, which is the instance where Peter Pan is on its own.
The Actors table had two records that showed Peter Pan with another
activity, separated by a comma, and these were not returned. I have tried
several things in the criteria, to no avail.
I know this is lengthy and longwinded, but I wanted to give you as much
background as possible. I really would like to get this right and
understand it properly.
I look forward to an early response! Thanks in advance.