Results 1 to 3 of 3
  1. #1
    JackLeon is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Mar 2015
    Posts
    15

    How to get selected record value from a subform

    I am trying to put in code in the Exit event of the subform to get the value of the selected row. I have been able to get the selected row using ".CurrentRecord" but am not able to get the row value using it. Say, the subform fields are Id, Name and Address and I want to show the value of Address for the selected row in a msgbox ... how could I accomplish that Thanks!!

  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,870
    A sample would be helpful. Screen shot/capture.

  3. #3
    JackLeon is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Mar 2015
    Posts
    15
    I was trying something complex.. as soon as I tried it the simple way, it worked.. thanks anyway

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

Similar Threads

  1. Replies: 3
    Last Post: 02-06-2015, 01:18 PM
  2. Replies: 6
    Last Post: 08-22-2012, 03:24 AM
  3. Replies: 2
    Last Post: 07-24-2011, 08:50 PM
  4. Replies: 5
    Last Post: 05-11-2011, 07:32 PM
  5. Replies: 1
    Last Post: 10-13-2010, 12:40 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