Results 1 to 4 of 4
  1. #1
    Eranka is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Dec 2017
    Posts
    150

    Capturing Button Name

    Hi Guys



    Is there is a way to capture a navigationbutton name.

    Something like navigationbutton.Text or Me.navigationbutton

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,598
    Not sure what you mean. Are you referring to the intrinsic navigation bar at bottom of form? Why would you need this? What are you trying to accomplish?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    Micron is offline Very Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,353
    I think that regardless if this is a navigation form navigation button or a command button, the property is Caption, not text.
    Eranka, this is evident on the property sheet in design view, for either of these control types. You can get a pretty good idea of what property it is that you need by looking there for anything. Not always exactly as described there, but usually close.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  4. #4
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,847
    I agree with the comments by June and Micron. The requirement is not very clear. It sounds like you are referring to the Caption or Name of a button. Since you would be defining/designing the form and buttons, I think you could name it whatever you like. You could have btnNextRecord or btnOpenFormXYZ or cmdSendEmail --- whatever is appropriate in your context.

    It often helps to describe your need(s) in plain English; even provide a mock up of a navigationbutton so readers can get some familiarity and context for your question(s).

    Good luck with your project.

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

Similar Threads

  1. Capturing F1 key so I can display Help screen
    By JrMontgom in forum Programming
    Replies: 7
    Last Post: 04-12-2015, 07:38 AM
  2. Capturing the recordset of a subform
    By tylerg11 in forum Access
    Replies: 1
    Last Post: 02-06-2013, 01:39 PM
  3. capturing the input date
    By rmohebian in forum Access
    Replies: 8
    Last Post: 02-10-2011, 02:54 PM
  4. Capturing Still Image From A Camera
    By kstarkes in forum Access
    Replies: 1
    Last Post: 01-28-2011, 04:16 PM
  5. capturing the address repeatedly
    By simba in forum Forms
    Replies: 12
    Last Post: 03-24-2010, 11:05 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