Results 1 to 3 of 3
  1. #1
    quicova is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2013
    Posts
    53

    how to get the field from subform in VB Code

    Hi everyone.

    I can't find a way to get the value from a field in a subform.

    if it was in the form I could write Me.this_Field

    but if the field is in a subform i can't do Me.this_subform.that_field



    anyone knows how to do this?
    thanks so much

  2. #2
    alansidman's Avatar
    alansidman is offline Indifferent
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,536

  3. #3
    quicova is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2013
    Posts
    53
    got it, thanks so much

    it should be Me.this_subform.form.that_field

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

Similar Threads

  1. Replies: 1
    Last Post: 05-04-2013, 12:19 PM
  2. Replies: 7
    Last Post: 12-03-2012, 10:25 AM
  3. Replies: 5
    Last Post: 11-16-2011, 07:30 PM
  4. Replies: 7
    Last Post: 07-15-2011, 01:58 PM
  5. Write Code to Navigate from Subform to Subform
    By Swilliams987 in forum Programming
    Replies: 22
    Last Post: 02-04-2011, 11:30 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