Hi
I have a table [Property Details] which shows property details and the details of the vendors selling each property
eg
Prop ID Address Vendor Name Property Status
------- ------- ----------- ---------------
1 3 Popp close Mrs Taylor Under Offer
1 3 Popp close Mr Taylor Under Offer
1 3 Popp close Mr Daimlar Under Offer
2 51 Bramble way Mr Dott Exchanged
2 51 Bramble way Mrs Langley Exchanged
3 2 Turnips rd Ms Louis Marketing
I am trying to create a report for mail merge purposes that has all the details of each property on one line with all the vendor names alongside it eg
Prop ID Address Vendor1 Vendor2 Vendor3
------- ------- ------- ------- -------
1 3 Popp close Mrs Taylor Mr Taylor Mr Daimlar
How do I achieve this? It wouldn't be so bad if I could be sure that not more that 2 vendors could be assigned to a property, but I definitely can't assume this.
Would correlated subqueries help my cause?
Any help on this would be truly appreciated as I am totally stumped.
![[ponder] [ponder] [ponder]](/data/assets/smilies/ponder.gif)
Nassy
I have a table [Property Details] which shows property details and the details of the vendors selling each property
eg
Prop ID Address Vendor Name Property Status
------- ------- ----------- ---------------
1 3 Popp close Mrs Taylor Under Offer
1 3 Popp close Mr Taylor Under Offer
1 3 Popp close Mr Daimlar Under Offer
2 51 Bramble way Mr Dott Exchanged
2 51 Bramble way Mrs Langley Exchanged
3 2 Turnips rd Ms Louis Marketing
I am trying to create a report for mail merge purposes that has all the details of each property on one line with all the vendor names alongside it eg
Prop ID Address Vendor1 Vendor2 Vendor3
------- ------- ------- ------- -------
1 3 Popp close Mrs Taylor Mr Taylor Mr Daimlar
How do I achieve this? It wouldn't be so bad if I could be sure that not more that 2 vendors could be assigned to a property, but I definitely can't assume this.
Would correlated subqueries help my cause?
Any help on this would be truly appreciated as I am totally stumped.
![[ponder] [ponder] [ponder]](/data/assets/smilies/ponder.gif)
Nassy