Error Message

G

George

I have an old program that I created many years ago and I have the password
but it gives me an error message when I try to open it: "The current user
account doesn't have permission to convert or enable this database" How can I
correct this -I thing it's looking for a file that would be on the computer I
used to create it - if thats the case I'm out of luck !

Thanks
 
J

Jackie L

Was your password set up through security in Access or was it based on an
outside source? Try to import your objects into a new database to see if you
can get past the error.
 
G

George

Jackie - I copied all the objects into a new database and when it opens at
takes me to the Visual Basic screen with an Error message "User Defined Type
not Defined" the following text is highlighted Dim dbs As Database. Which
leaves me clueless
 
J

John W. Vinson

What version of Access? Sounds like a References problem.

Agreed. This is a pretty common symptom - open the VBA editor, select Tools...
References, and find the "Microsoft DAO x.xx Object Library" (use the highest
version, probably 3.6).

It's probably best to use unambiguous references - Dim dbs As DAO.Database,
Dim rs As DAO.Recordset.
 
G

George

I don't know what version of Access - I can't open it - I created somewhere
back in early 90's. The only way I can get into it is create a new database
and import all the objects, but when I try to open the new database I get
error messages.

Will look at the references - Thanks
 
J

John W. Vinson

I don't know what version of Access - I can't open it - I created somewhere
back in early 90's. The only way I can get into it is create a new database
and import all the objects, but when I try to open the new database I get
error messages.

Probably Access 2.0 if it's in fact "early" 90's, and that may cause some real
problems; 2.0 was a 16 bit application, and Access 95 and later are 32 bit.
The VBA code changed fairly drastically in the process and some of it may need
to be revised.

Try opening it while holding down the Shift key to bypass any start code. You
may want to refer to Tony Toews' website - IIRC he had some writeups about
converting from 2.0:

http://www.granite.ab.ca/access
 
G

George

John - I copied the program to my newer laptop running Vista and Office 2007.
Then created a new database in Office 2007 and imported the files from the
old database. Strangely enough its works without any problems - must be the
version I created it in is no longer compatible - thanks for the tip !!!

Happy Holidays....
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top