Results 1 to 6 of 6
  1. #1
    kp123 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Nov 2011
    Posts
    33

    Buttons!

    I have created a switchboard 'front page' through which I hope for users to access the forms for inputting data.
    Within this front page I have an 'enter' button - successfully created - everything.



    However, I am unclear as to how you activate this, or any other button. I have linked it to the appropriate form and stated the action I want it to undertake, but nothing is happening.

    What further instructions do I need to provide ...and where?!

    Thanks.

  2. #2
    pdebaets is offline Competent Performer
    Windows Vista Access 2010 (version 14.0)
    Join Date
    Jul 2010
    Location
    Los Angeles
    Posts
    235
    You can put code in the OnClick event procedure to do whatever you want. Ex.:

    Msgbox "Hello World"

    ... in the OnClick event procedure will display a message when you click the button. Try this to see if your button is working and to see if you've put the code in the right place.

  3. #3
    kp123 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Nov 2011
    Posts
    33
    I have seen the OnClick option, which takes me to the Macro/Coding page.
    Does this mean that I have to write some coding to facilitate this?

    This may be more advanced than I am!

  4. #4
    pdebaets is offline Competent Performer
    Windows Vista Access 2010 (version 14.0)
    Join Date
    Jul 2010
    Location
    Los Angeles
    Posts
    235
    The button wizard will guide you through many common button options like opening a form, or a report.

  5. #5
    kp123 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Nov 2011
    Posts
    33
    Hmm, it did but I expected the instructions I gave it in the 4/5 steps to result with a button that worked - the macro text certainly has been automatically created from what I can see.
    I created a new form for my front page - perhaps I need to focus on creating some sort of manual link between this and my data-entry form...?

  6. #6
    kp123 is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Nov 2011
    Posts
    33
    Sorted! I knew there must have been some type of blockage!
    I had to 'enable' some settings. That did it.
    Thank you for your suggestions pdebaets.

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

Similar Threads

  1. Buttons
    By dunnmel4 in forum Access
    Replies: 1
    Last Post: 04-07-2011, 12:27 PM
  2. Command Buttons
    By Rosier75 in forum Access
    Replies: 3
    Last Post: 03-09-2011, 11:59 AM
  3. Form and Buttons
    By rmohebian in forum Forms
    Replies: 1
    Last Post: 02-14-2011, 09:57 AM
  4. command buttons
    By nashr1928 in forum Forms
    Replies: 23
    Last Post: 10-15-2010, 04:09 PM
  5. Option buttons
    By chazcoral2 in forum Forms
    Replies: 11
    Last Post: 09-13-2010, 07:53 AM

Tags for this Thread

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