Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need Query Field to list Field Values in Another Table 2

Status
Not open for further replies.

lucybelle

MIS
Apr 9, 2001
58
0
0
US
I have a query with a Trip table & Appointment table
There can be many appointments in a trip. I only need 1 field, “Destination”, in the appointment table to show in my query which gives me duplicate records for all the trips that have more than 1 appointment. Is there a way to add a field that will list all the “Destinations” in that field per trip in my query or a form?

Thankful for any help,
 
Select * from
trips
inner join (Select tripid ,min(Destination) As des
From Appointment
Group by tripid
)oneAppointment
on oneAppointment.tripid = tripd.tripid
 
a field that will list all the "Destinations"
Have a look here:
faq701-4233

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top