Wrox Programmer Forums
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA 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, 2006, 04:12 PM
Registered User
 
Join Date: Dec 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default DoCmd.OpenForm

All I'm attempting to do is open an existing form using a click from another.

DoCmd.OpenForm "frm_GSG_Access_Rights", , ,

I don't want to filter out any records from the subsequent form, is there a way to wildcard the where clause?

- Turp
 
Old December 15th, 2006, 05:23 AM
Friend of Wrox
 
Join Date: Sep 2003
Posts: 155
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to leehambly
Default

Just ignore it
 
Old December 15th, 2006, 08:33 AM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

Is there a filter already applied to the second form? If there is not, the statement you posted will not filter the second form. You can remove the following commas, so your statement reads:

DoCmd.OpenForm "frm_GSG_Access_Rights"

HTH

mmcdonal





Similar Threads
Thread Thread Starter Forum Replies Last Post
DoCmd Openform arguments BBWEST Access 1 August 21st, 2008 10:23 AM
DoCmd.OpenForm BBWEST Access 1 August 21st, 2008 10:02 AM
DoCmd.OpenForm does not work jansb000 Access VBA 1 March 25th, 2008 06:45 AM
Docmd.Openform problem mkobulni Access VBA 7 August 29th, 2007 09:05 AM
How does DoCmd.OpenForm work? Brian263 Access 3 November 23rd, 2004 10:32 PM





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