Results 1 to 6 of 6
  1. #1
    Trishnalynn is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Dec 2013
    Posts
    3

    Need Help With Access 2010

    I have created two tables: ‘Business Role Test’, ‘DC Roles to Course’.
    I have attached the zip db for review - its only 512k.


    I need to search the Business Role Test table for values from the DC Roles Course table (Business Role - SAP ECC) column and find a match in the Business Role Test table.
    When a match is found, I need the second column that contains the values of the classes from the DC Roles to Course table, to be added to the field called ‘Training Courses’ in the Business Role Test table.

    I started a macro but wasn’t sure enough to complete the commands.

    I’d appreciate help.

    Thank you!
    Attached Files Attached Files

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Why are TrainingCourses, Business Role - Other, Business Role - SAP ECC, Applications fields set as multi-value?
    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
    Trishnalynn is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Dec 2013
    Posts
    3
    Quote Originally Posted by June7 View Post
    Why are TrainingCourses, Business Role - Other, Business Role - SAP ECC, Applications fields set as multi-value?

    Hi June 7,
    They are check boxes from sharePoint in those fields. Many rolls to many courses is what I'm hoping to accomplish.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Fields set up as multi-value can't be interacted with same as other fields. In other words, can't do a simple expression to populate the field, such as:

    Me.TrainingCourses = "xyz"

    And using SQL to edit multi-value fields requires special syntax.

    Use of multi-value field complicates what you want to do.

    Review:
    http://office.microsoft.com/en-us/ac...001233722.aspx
    http://stackoverflow.com/questions/6...ield-in-access
    https://www.accessforums.net/program...vba-21259.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.

  5. #5
    Trishnalynn is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Dec 2013
    Posts
    3

    Thank you for the links!

    Quote Originally Posted by June7 View Post
    Fields set up as multi-value can't be interacted with same as other fields. In other words, can't do a simple expression to populate the field, such as:

    Me.TrainingCourses = "xyz"

    And using SQL to edit multi-value fields requires special syntax.

    Use of multi-value field complicates what you want to do.

    Review:
    http://office.microsoft.com/en-us/ac...001233722.aspx
    http://stackoverflow.com/questions/6...ield-in-access
    https://www.accessforums.net/program...vba-21259.html


    Thank you for the links June 7! I'm going to look those over and in the mean time, I'm going to export to Excel and try to run a macro on it after parsing out the coma delimited fields into individual cells.

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    I don't know that export to Excel will be a simple task either because multi-value fields are not comma separated values. In spite of the data appearance, that is NOT a single string of characters. Hopefully the links will clarify.
    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.

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

Similar Threads

  1. Replies: 5
    Last Post: 01-07-2016, 12:49 PM
  2. Replies: 1
    Last Post: 06-29-2013, 01:49 AM
  3. Replies: 9
    Last Post: 05-07-2013, 08:37 PM
  4. Replies: 4
    Last Post: 09-19-2012, 02:07 AM
  5. Replies: 0
    Last Post: 07-31-2012, 12:25 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