Results 1 to 2 of 2
  1. #1
    zhshqzyc is offline Novice
    Windows XP Access 2007
    Join Date
    Jan 2011
    Posts
    9

    Button on the form

    Hi, I am an absolute newbin for access.
    I am going to add a button on a form, by clicking this form. The second form will be opened. My question is that should I create the second form first or just write code to create this form?

    And If I want to click this button to open a report instead of a form, what are the steps?

    Is there a sample, google search but not found it.

    Thanks.

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,641
    You would create the second form first, as you'll need its name. The button wizard will walk you through either, but in VBA code you'd either be using OpenForm or OpenReport.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Replies: 9
    Last Post: 02-15-2011, 03:05 PM
  2. Button on the form
    By Evgeny in forum Forms
    Replies: 6
    Last Post: 04-29-2010, 12:06 AM
  3. form button
    By mmp in forum Programming
    Replies: 1
    Last Post: 03-04-2010, 10:55 AM
  4. Replies: 1
    Last Post: 03-03-2010, 07:29 PM
  5. email button in form
    By peterinbristol in forum Forms
    Replies: 0
    Last Post: 03-19-2007, 02:25 PM

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