Results 1 to 2 of 2
  1. #1
    Shamli is offline Competent Performer
    Windows 7 64bit Access 2013 64bit
    Join Date
    Jul 2018
    Location
    California
    Posts
    142

    Pulling th column value from list box

    I am trying to take a specific row value from the list box.
    I used below as a criteria. But the result I get is all the row and not the specific one I am looking for.

    Am I calling the list box column wrongly?


    [Forms]![Add EmployeeToProject]![lstEmployee].[Column](1)

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    The value is the row. Bound column.
    if you want a differen column than the bound, NOTE in vb, columns begin with zero.
    listbox.column(0)

    you CANNOT use it in a query. That's what bound column is for.

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

Similar Threads

  1. Replies: 5
    Last Post: 11-01-2013, 10:34 AM
  2. Pulling data based off a list
    By Kookymonster in forum Import/Export Data
    Replies: 9
    Last Post: 08-15-2011, 12:54 PM
  3. Replies: 3
    Last Post: 12-21-2010, 11:52 AM
  4. pulling text values into FK number column
    By REBBROWN in forum Database Design
    Replies: 2
    Last Post: 08-30-2010, 05:04 PM
  5. Pulling a Query from a List Box
    By Nosaj08 in forum Queries
    Replies: 1
    Last Post: 11-09-2009, 10:27 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