Hi all,
I have a table called Customers and one called Notes. The Customer has a CustomerID. This is the fk in the Notes table. The Notes fields include NoteDate and Note (which is a memo field).
I need a query which will display the data as follows:
CustomerID | NoteDate1 | Note1 | NoteDate2 | Note2 | NoteDate3 | Note3 etc.
I don't think a crosstab would work for this and have tried with pivot table but couldn't get it to work. I don't have any experience with pivots in any case.
Or would I need to do this in VBA? Or maybe I'm overcomplicating and there is an easier way to do it?
The reason I need it in a format like this is I want to export it to Excel and import it into a crm from there.
(The other option would be to export it to XML but the export to xml option doesn't seem to give the option to allow you to specify that each customer can have one to many notes associated with it)
I have a table called Customers and one called Notes. The Customer has a CustomerID. This is the fk in the Notes table. The Notes fields include NoteDate and Note (which is a memo field).
I need a query which will display the data as follows:
CustomerID | NoteDate1 | Note1 | NoteDate2 | Note2 | NoteDate3 | Note3 etc.
I don't think a crosstab would work for this and have tried with pivot table but couldn't get it to work. I don't have any experience with pivots in any case.
Or would I need to do this in VBA? Or maybe I'm overcomplicating and there is an easier way to do it?
The reason I need it in a format like this is I want to export it to Excel and import it into a crm from there.
(The other option would be to export it to XML but the export to xml option doesn't seem to give the option to allow you to specify that each customer can have one to many notes associated with it)