Results 1 to 4 of 4
  1. #1
    mickeymatos is offline Novice
    Windows 7 64bit Access 2003
    Join Date
    Dec 2012
    Posts
    4

    Missing txtBox

    Good morning everyone.



    I'm familiarizing myself with a form and its code, and am stumped on a little aspect of it. In the code I have this:
    MinInv = Me!subfrmtblTmpFinDet!txtMinInvno
    MaxInv = Me!subfrmtblTmpFinDet!txtMaxInvno

    When I go to the subform named subfrmtblTmpFinDet I can't find the controls txtMinInvno, txtMaxInvno. I'm assuming they are text boxes. In the combobox of the property sheet of the subform those controls aren't there. Can someone please shed some light on this?

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Are you looking on the SubForm or SubFormControl? The syntax for the SubForm would be:
    MinInv = Me!subfrmtblTmpFinDet.FORM!txtMinInvno

  3. #3
    mickeymatos is offline Novice
    Windows 7 64bit Access 2003
    Join Date
    Dec 2012
    Posts
    4
    It turns out I wasn't looking at the subform. Now I am and can locate those text boxes. Thank you very much, I appreciate the help.

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Here's a good reference link for the syntax. Yours is working because Access is helping and not because it is correct.
    http://access.mvps.org/access/forms/frm0031.htm

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

Similar Threads

  1. Highlighting current txtBox
    By SMC in forum Forms
    Replies: 1
    Last Post: 06-21-2012, 07:46 AM
  2. Combo box disabling other txtbox
    By GraemeG in forum Programming
    Replies: 2
    Last Post: 02-13-2011, 01:21 PM
  3. Replies: 3
    Last Post: 08-08-2010, 12:21 PM
  4. txtbox moves everything else down
    By cowboy in forum Access
    Replies: 2
    Last Post: 01-06-2010, 05:45 PM
  5. Update from txtbox Help!
    By jbh02 in forum Queries
    Replies: 1
    Last Post: 09-29-2009, 10:14 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