Results 1 to 4 of 4
  1. #1
    kiri19 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Aug 2012
    Location
    Ottawa, Canada
    Posts
    18

    Display textfield when label is clicked on

    I would like to setup an invisible textfield that is only visible when a particular label is clicked on.


    i need help with coding.

  2. #2
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    Replace ClickLabel and Target Field with your actual names and use the code below:

    Code:
    Private Sub Form_Current()
     TargetField.Visible = False
    End Sub
    
    Private Sub ClickLabel_Click()
     TargetField.Visible = True
    End Sub


    Linq ;0)>
    The problem with making anything foolproof...is that fools are so darn ingenious!

    All posts/responses based on Access 2003/2007

  3. #3
    kiri19 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Aug 2012
    Location
    Ottawa, Canada
    Posts
    18
    Thanks a lot

  4. #4
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    Glad we could help!

    Linq ;0)>
    The problem with making anything foolproof...is that fools are so darn ingenious!

    All posts/responses based on Access 2003/2007

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

Similar Threads

  1. DLookup with textfield in criteria
    By smeghead67 in forum Programming
    Replies: 4
    Last Post: 08-07-2012, 12:18 PM
  2. DLOOKUP where TEXTFIELD > SEARCHSTRING
    By Whizbang in forum Access
    Replies: 1
    Last Post: 12-20-2011, 01:48 PM
  3. Replies: 1
    Last Post: 12-18-2011, 01:09 AM
  4. Replies: 5
    Last Post: 06-28-2011, 06:40 PM
  5. Replies: 0
    Last Post: 09-21-2008, 11:28 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