P
Perplexed
Using Access 2003. I have 3 tables: Table 1 (Passengers) = name, address,
etc.; Table 2 (Appointments) = date, time, cancelled, reason, etc.; Table 3
(Suspensions) = FirstWarning, Letter Sent, Suspension, etc. All tables are
joined by the primary key "CustomerID" and table 1 and 2 are one to many and
table 1 and 3 are one to one. I have 3 queries one each table pulling the
fields that I want on my report. The main report uses the table1query so I
get all passengers in the database. I used two subreports using the queries
from the other two tables. Reason: so I could print out a list of cancelled
appts per passenger based on a certain criteria and then only show the fields
in the third table once, not for each appointment record. The report looks
great and provides the data exactly how I would like it to be. Problem is
that it prints out for every passenger in table 1 making the report about 60
pages. I'd like to filter on only passengers with cancelled appts w/ reasons
greater than 1. When I do this I get multiple sections for each passenger
based on the number of cancelled appts. I've read some of the replys;
however, the coding that is suggested doesn't give me any clues as I don't
know where to put it. Hoping that someone out there understands what I'm
tring to do and can explain it simply.
etc.; Table 2 (Appointments) = date, time, cancelled, reason, etc.; Table 3
(Suspensions) = FirstWarning, Letter Sent, Suspension, etc. All tables are
joined by the primary key "CustomerID" and table 1 and 2 are one to many and
table 1 and 3 are one to one. I have 3 queries one each table pulling the
fields that I want on my report. The main report uses the table1query so I
get all passengers in the database. I used two subreports using the queries
from the other two tables. Reason: so I could print out a list of cancelled
appts per passenger based on a certain criteria and then only show the fields
in the third table once, not for each appointment record. The report looks
great and provides the data exactly how I would like it to be. Problem is
that it prints out for every passenger in table 1 making the report about 60
pages. I'd like to filter on only passengers with cancelled appts w/ reasons
greater than 1. When I do this I get multiple sections for each passenger
based on the number of cancelled appts. I've read some of the replys;
however, the coding that is suggested doesn't give me any clues as I don't
know where to put it. Hoping that someone out there understands what I'm
tring to do and can explain it simply.