Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unfixable problem?

Status
Not open for further replies.

mrblonde

Technical User
Mar 16, 2001
187
US
I am troubleshooting a problem on a database I did not create. I'm using Access 2000, and after the intial start up of the form a dialog box appears saying that there is an invalid key 'D'.- continue loading project. If I click No, the message repeats, click yes and the box is gone. It continues to appear on nearly any event. There is an autonumber field labled Key, in the primary table. I can not check the VB code because I get an invalid format error whenever I go into the viewer. This is a rather simple design, there are only a couple of queries and no relationships among the fields. I'm looking for any answers or methods to eliminating that error box. Thanks in advance!




 
First, open the database while holding the shift key, that way none of the startup items will run.
Next check the startup options to see what runs at startup if none specified check for autoexec macro.
Next check your references ...... and the rest of the codes that might cause problems.

HTH

PsychPt@Hotmail.com
 
While holding the shift key down I was able to launch without the error, I checked the startup options and the only thing there is to start with a frmBid. So I opened up that form in design view and tried to check the code. Instantly I got the error message. I should mention it is a VB error box. Also, I could not view the code because it said invalid file format...Now what?
 
Thank you for your help, but quite frankly, I'm not sure what you mean by Refreneces...
 
In any module (vb editor) select tools references and see if any of them say missing

PsychPt@Hotmail.com
 
Unfortunatly nothing is out of the ordinary (As far as I can tell) in the Refrences...Any other suggestions? Either way thanks!!!
 
You said this was a simple database. Then simply open up a new database, copy over the tables and forms. Review them and figure out what the end result of the VB code was supposed to do and then simply write the code yourself.

Later,
ErikZ
 
Yeah Erik,
I'll probably go that route, Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top