Results 1 to 2 of 2
  1. #1
    scotty is offline Novice
    Windows Vista Access 2007
    Join Date
    Oct 2010
    Posts
    1

    automated button labels

    Hi,



    First time poster so nice to be here!

    I have a question about button labels. Is there anyway to automate them and have them change?

    To be more specific, what I'd like to do is create a button that opens a small subform. The button label by default is "None". When the button is selected and the subform is used then the button's label changes to "Yes"

    Is there any way to do this??

    Thanks
    Scotty

  2. #2
    slave138's Avatar
    slave138 is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Oct 2010
    Location
    WI
    Posts
    233
    In the OnClick event for the button (we'll call your button btnButtonName) use ssomething like this:

    Code:
    Me.btnButtonName.Caption = "Yes"
    You may need to use a similar line of code to change it back depending on how you use it.

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

Similar Threads

  1. Automated Mail Merge
    By celinae in forum Programming
    Replies: 1
    Last Post: 09-20-2010, 09:57 AM
  2. Automated import
    By salisbut in forum Import/Export Data
    Replies: 2
    Last Post: 07-16-2010, 12:56 PM
  3. automated macros?
    By tom4038 in forum Programming
    Replies: 1
    Last Post: 09-24-2009, 02:57 AM
  4. Automated Letter Composition
    By jmwheatley in forum Programming
    Replies: 7
    Last Post: 09-20-2009, 05:20 PM
  5. Automated many Rpts from one??
    By techexpressinc in forum Reports
    Replies: 0
    Last Post: 07-21-2009, 08:20 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