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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Display subform as comma seperated string

Status
Not open for further replies.

Anna22

Technical User
Feb 11, 2002
56
GB
Hello
I have a database which holds client information. Each client is categorised into the type of work they do. So my form displays the following:

MainForm
ClientName
ClientAddress
ClientTelNo
ClientFaxNo .. etc ..

SubForm
Category1
Category2 ... etc ...

Each client can have one or more categories assigned to them and this works fine on the screen above. However i want to create a summary report which will display something along the lines of the following

ClientName Category
Client 1 Category1, Category2, Category3,
Client 2 Category1, Category2,
Client 3 Category1, Category2,
Client 4 Category1,
Client 5 Category1, Category2,
Client 6 Category1, Category2, Category3,
Client 7 Category1, Category2,
etc ...

The only function i know that would create the lookk that i want is concatenate but i only have one field name. Is there a way of displaying this information in the format i want

Regards

Anna
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top