Results 1 to 2 of 2
  1. #1
    Dengkee is offline Novice
    Windows 7 Access 2002
    Join Date
    May 2010
    Posts
    4

    get data from a textbox on a subform that is set on focus


    hello ppl,

    how to get a data from a textbox on a subform which is currently set on focus?

  2. #2
    Jim Doherty is offline Novice
    Windows XP Access 2000
    Join Date
    May 2010
    Location
    Derbyshire,England. UK
    Posts
    20
    In VBA code if you are working from a main form and wishing to take the value from your subform and place the content of that into a string variable the convention is

    Dim MyValue As String
    MyValue=Forms!YourFormName.Form!YourTextboxName

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

Similar Threads

  1. Writing data from textbox to table
    By mll in forum Forms
    Replies: 4
    Last Post: 03-10-2010, 05:10 PM
  2. Data from one subform to anther subform
    By scotribs in forum Forms
    Replies: 3
    Last Post: 03-09-2010, 09:53 AM
  3. Replies: 3
    Last Post: 02-10-2010, 07:29 AM
  4. Combining textbox and checkbox data
    By jgarner in forum Access
    Replies: 0
    Last Post: 12-11-2008, 11:10 AM
  5. Replies: 1
    Last Post: 12-10-2005, 04:52 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