Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
| Search | Today's Posts | Mark Forums Read
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 14th, 2003, 12:09 PM
Authorized User
 
Join Date: Dec 2003
Location: Vashi, Navi Mumbai, Maharashtra, India.
Posts: 63
Thanks: 0
Thanked 0 Times in 0 Posts
Default Command button not working in ms access page

:(I have created a page in ms access page. On that page I have created a command button. My query is when I click the command button it should open the form/ report or table. For this should I write code or query. If yes please guide me how should I do this. I would appreciate if the information is given in details.:)

__________________
Mohamed Mohiddin
Officer
 
Old December 14th, 2003, 06:52 PM
Friend of Wrox
 
Join Date: Nov 2003
Location: Lehigh Acres, FL, USA.
Posts: 625
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to jemacc
Default

follow this sample

This should go on your properties "on click"
if you use the wizard you get the same results.

Private Sub cmdInstructors_Click()
    'Open the Instructors form.
    DoCmd.OpenForm "Instructors", acNormal
End Sub




Similar Threads
Thread Thread Starter Forum Replies Last Post
MS Access: Data Access Page sevp95 Access VBA 0 July 14th, 2008 11:07 AM
MS Access help - VB Code for command button pari22 Access VBA 11 September 7th, 2007 11:13 AM
button command for page change Jonas Access 5 June 6th, 2007 11:39 AM
Location of Access default command button icons ActuaryTm Access 2 September 16th, 2005 12:03 PM
how to run MS Access Marcos from ASP page Dean Hewitt Classic ASP Databases 1 April 10th, 2005 08:19 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.