Results 1 to 3 of 3
  1. #1
    GeorgeB is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jan 2012
    Posts
    18

    Access 2007-10 table lookup, multiple entry Help

    Hello everyone

    I am kinda new to Access (well I used it back in 2002 my last time)

    and I am trying to create a simple database

    it consist of three tables

    one of the tables is used as data lookup to fill the field in another table

    my problem is that this should be a multiple value field which is easy, but the problem is I need to create a code,form or anything that gives me the multiple values separated by a comma in a message box for example

    Thanks very much

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    The values will display fine in a textbox. Why the message box?

    I won't use multi-value fields because they are so difficult to work with in code.

    I did a test trying to reference the field in MsgBox and Debug.Print. Both errored.

    I think you will have to do a query that parses the values into muliple records and then run code to concatenate them into a single string. Review these

    http://office.microsoft.com/en-us/ac...010149297.aspx
    http://allenbrowne.com/func-concat.html
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    GeorgeB is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Jan 2012
    Posts
    18
    Thanks for the useful, links, yeah I wanted the message box just as simple code to see how to extract the data

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

Similar Threads

  1. Multiple fields to the same Lookup Table
    By igooba in forum Database Design
    Replies: 9
    Last Post: 01-03-2012, 04:14 PM
  2. Lookup List in a Form for Table Record entry...
    By noaccessguru in forum Forms
    Replies: 1
    Last Post: 05-05-2011, 12:35 AM
  3. lookup next ref on data entry
    By Jackie in forum Access
    Replies: 2
    Last Post: 03-26-2011, 03:40 PM
  4. Simultaneous Data Entry for Access 2007
    By matt.smith in forum Access
    Replies: 1
    Last Post: 05-27-2010, 03:22 PM
  5. Viewing Multiple Tables in Access 2007?
    By MikeT in forum Access
    Replies: 1
    Last Post: 05-16-2010, 05:38 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