Results 1 to 3 of 3
  1. #1
    sprtrmp is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Sep 2015
    Location
    Greenville, SC
    Posts
    102

    Display (concatenate) multiple columns from same combo box???

    I have a form that has a combo box with multiple columns. column 0 (hidden = employee number, column 1 = last name, column 2 = first name). on the form, this combo is used to select which employee's record is being displayed.

    From this form, I can open a report that simply shows/prints an employee's record. from what I can tell, I have the form filtered correctly to where it opens the report to the correct employee, and I have a text box that I need to show the employee's "Lastname, firstname".



    What I cannot seem to figure out is how to concatenate the 2 columns from the combo box on the form into one textbox on the report. I have tried using a few variations of the following as the control source for the textbox on the report:

    =[Forms]![frmAssigned].[cmbCrewID].[column](1) & ", " & [column](2)

    Does anyone have any ideas?

    THANKS!!!

  2. #2
    CJ_London is online now VIP
    Windows 8 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,932
    have you tried

    =[Forms]![frmAssigned].[cmbCrewID].[column](1) & ", " & [Forms]![frmAssigned].[cmbCrewID]. [column](2)

  3. #3
    sprtrmp is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Sep 2015
    Location
    Greenville, SC
    Posts
    102
    I just did, and it worked.

    I didn't think i would have had to direct it all the way to the Forms... column(2) location for the second time, i would have thought (incorrectly, obviously) that getting it to the control the first time would have done the trick.

    Ah well, thanks for the quick response.

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

Similar Threads

  1. Student Scores display in multiple columns
    By Mychael14 in forum Access
    Replies: 19
    Last Post: 05-10-2015, 08:41 PM
  2. Replies: 5
    Last Post: 03-11-2013, 03:12 PM
  3. Replies: 2
    Last Post: 02-21-2013, 07:47 AM
  4. Display multiple rows into seperate columns
    By levinkev in forum Queries
    Replies: 1
    Last Post: 08-30-2012, 11:02 AM
  5. Display 2 Columns in Combo Box?
    By 10 Gauge in forum Forms
    Replies: 3
    Last Post: 04-12-2011, 10:24 AM

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