Results 1 to 3 of 3
  1. #1
    ermcc is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Apr 2012
    Posts
    6

    How do I show several records in one field?

    I have a table: Complaint
    Within the table there is a field: CustomerID
    There could be anywhere from 1 to 10 records with the same CustomerID.
    I would like to show all the complaints for a specific CustomerID on a form in one field.

    Right now I have the following Control Source Code:
    =[Complaint.PartNumber] & ", ," & [Complaint.PNdescrip] & ", ," & [Complaint.Complaint]
    This code will only display 1 record.

    I would like the text box to look like this: (All from the same CustomerID number)



    Part Number A PN Description A Complaint A
    Part Number B PN Description B Complaint B

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,847
    Do you have a relationship between your Customer Table and your Complaints table? What is your data base structure?
    Can you post a jpg?

    You might use Form and subform, but you won't get all records in the "same field".
    Maybe the same column???

  3. #3
    ermcc is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Apr 2012
    Posts
    6
    I decided to change the format and not go with several records in one field. I am using a combobox and its working.
    Thanks for the reply Orange.

    Have a great day!!!

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Do not show null records
    By brobb56 in forum Forms
    Replies: 1
    Last Post: 09-23-2011, 02:29 PM
  2. Replies: 4
    Last Post: 08-18-2011, 01:52 PM
  3. Show records for each date
    By cooper in forum Forms
    Replies: 2
    Last Post: 08-11-2011, 08:58 AM
  4. Show all records.
    By dennisvillareal in forum Access
    Replies: 1
    Last Post: 03-03-2011, 04:28 PM
  5. Lookup or list field: how Do I not show all records
    By scott munkirs in forum Forms
    Replies: 4
    Last Post: 04-13-2006, 12:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums