Hi there,
I've got 3 tables that I need to pull into a query. The tables look a bit like the below. What I need to do is get a query that returns just 3 rows. But, I'm getting more than that. I can do a DISTINCT in my query, and that gives me 3, but there are some text fields that I need to return, and it won't allow that. ItemID and Dealer are the key fields between the Detail1 and Detail2 table. thanks. BD
Item
========================
ItemID Status LastUpdated Category
B.01 Active <date> chair
Detail1
========================
ItemID Dealer ModelNumber Description
B.01 Staples S56 big long description
B.01 OfficMax O55 description
B.01 WB WB45
Detail2
=========================
ItemID Dealer Image Notes
B.01 Staples 1.jpg extended notes
B.01 OfficeMax 2.jpg more notes
B.01 WB 3.jpg extra notes
I've got 3 tables that I need to pull into a query. The tables look a bit like the below. What I need to do is get a query that returns just 3 rows. But, I'm getting more than that. I can do a DISTINCT in my query, and that gives me 3, but there are some text fields that I need to return, and it won't allow that. ItemID and Dealer are the key fields between the Detail1 and Detail2 table. thanks. BD
Item
========================
ItemID Status LastUpdated Category
B.01 Active <date> chair
Detail1
========================
ItemID Dealer ModelNumber Description
B.01 Staples S56 big long description
B.01 OfficMax O55 description
B.01 WB WB45
Detail2
=========================
ItemID Dealer Image Notes
B.01 Staples 1.jpg extended notes
B.01 OfficeMax 2.jpg more notes
B.01 WB 3.jpg extra notes