Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
Password Reminder
Register
Register | FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old July 20th, 2007, 03:59 PM
Registered User
 
Join Date: Jul 2007
Location: , Minnesota, USA.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Issue Opening Form in Access 2007

:( I have a db which at startup loads a screen allowing the user to select either of two buttons. One button brings up a data entry form, the other brings up a search form. We just switched today to Office 2007 (the db was created in Access 2002) and now the button to open the data entry form will not work?!? I get an error message stating that it's Runtime error 3011, that the object "1" can't be found and to check to be sure that the name and path are spelled correctly. When you click debug to view where the VB is puking, the offensive line is my DoCmd.OpenForm line to open the data entry form - a line which functioned perfectly fine until the switch to 2007. The actual line reads - DoCmd.OpenForm "Warranty_Info_Entry_Form", acViewNormal, acEdit

Here's the weird thing - the other button to open the search form works perfectly fine and all other forms that are launched after that (an info display form, and an edit info form) will open fine. Also, if I switch the form name in the bad line to the name of the search form, it will open fine, but no other form will work. It also just so happens that the search form is the first one in the list alphabetically - not that that should make a difference.

Has anyone else experienced anything like this with Access 2007??? I'm at my wits end!

Thanks!!!

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error opening Excel 2007 files in Express Edition Exsharaen Visual Basic 2008 Essentials 2 April 25th, 2008 01:47 AM
Access 2007 JohnBoy VB.NET 2002/2003 Basics 1 March 16th, 2008 09:33 PM
Access 2007 Ribbons? bgnetman Access VBA 2 October 30th, 2007 11:03 AM
Access 2007 - wtf? mmcdonal Access 7 December 19th, 2006 07:45 AM
A Access Form issue goels Access VBA 6 October 7th, 2004 06:58 AM



All times are GMT -4. The time now is 02:25 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.