In the Query Designer select design view. Then you can show the 3
tables you mentioned. Select your ApptTbl and click on the Add button,
the select PetTbl - click Add, select CustTbl - click Add. THen Click
on the PetID field in the ApptTbl and DRAG it to the PetID field in the
PetTbl. If you can't see the PetID field in the list then scroll the
list until you can see the PetID field in each table in the Query
Designer. Then Click and drag the CustomerID field from the PetTbl to
the CustTbl.
Now you have joined the 3 tables. In the Field Row in the Query
designer you can now select the table and field you want to display.
Note: when you run the query, it will display all the records in your
system.
If you want to filter the resultset to only show records for one
customer you can enter the customer number under the customerID field
(if you added that field to the Field list to display) in the criteria
row. Now you will only display records for that customerID. Or you
could do the same if you only want to see records for a given Pet. Just
enter the PetID number under the criteria for the PetID field (assuming
you have selected PetID in the Fields to display row).
Rich
*** Sent via Developersdex
http://www.developersdex.com ***