Wrox Programmer Forums
|
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 January 17th, 2007, 11:21 AM
Authorized User
 
Join Date: Aug 2006
Posts: 85
Thanks: 0
Thanked 0 Times in 0 Posts
Default Opening a Form

Hello,
  I'm opening a form from the switchboard and I want it to open in datasheet view. I've set it to datasheet view, but everytime it opens from the switchboard, it opens in form view. Is there anyway to work around it so it will open in datasheet view?

Thanks.

Arholly

 
Old January 17th, 2007, 11:59 AM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

Yes. Make sure the DoCmd statement says this:

DoCmd.OpenForm "frmMyFormName", acFormDS, etc

This will open it in Datasheet.

It probably says acNormal or acPreview.

HTH

mmcdonal





Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems while opening form anukagni Access 4 March 31st, 2008 05:54 AM
Opening 1 form from another jainin_shah9 C# 2005 5 February 18th, 2008 07:31 AM
Form opening with filters ayazhoda Access VBA 2 August 22nd, 2007 03:58 AM
Closing a form after opening another form rosebushr Access 2 January 7th, 2006 04:34 AM





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