Link to home
Start Free TrialLog in
Avatar of NiceMan331
NiceMan331

asked on

error message on opening ms access

hi
i have office 2007 , windows 8
when i open any access file , error message appear
as the attached
err.docx
Avatar of Jeffrey Coachman
Jeffrey Coachman
Flag of United States of America image

When did this error first start appearing?

 ...make sure that the code compiles

I see that you are running an Access 2000 format db under office 2007, ...so you might have some VBA reference issues here, ...I am sure another Exert can help with that...
Office 2007 requires the file to be in a Trusted Location, so be sure you've set that up on the machine. To do that, open Access, then click File - Access Options - Trust Center, then click Trust Center Settings - Trusted Locations. You can add the Trusted Location from there.

To check references, open the VBA Editor and click Tools - References. If any are marked MISSING, post back here and let us know. Note that you must do this on the machine where you're having trouble.
Avatar of NiceMan331
NiceMan331

ASKER

i added the location to trust center
then i go to refernces , no missing references appear
SOLUTION
Avatar of Jeffrey Coachman
Jeffrey Coachman
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
As Jeff said - you need to give us more details. When does the error occur - do you click a button, or does it occur as soon as you open the database? Could code on a Form be causing this issue?

Was this database working previously, and this behavior started suddenly?

If it was working - was it working on the SAME machine where you're now experiencing troubles?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I'm receiving this error when I upload from some sites , but from my own filed I face no problem
I'm receiving this error when I upload from some sites , but from my own filed I face no problem
Please clarify:
Upload or Download?

On occasion downloaded Access files (or any downloaded file, for that matter) can get corrupt, ...try downloading the file again.

Are all the files downloaded form a particular site having his problem?
If so, you may wish to contact the webmaster for this site, and verify the integrity of these files.

JeffCoachman
Sorry , download
I'm receiving this error when I upload from some sites , but from my own filed I face no problem
When you download what? Can you explain what you mean by this?
Your original question said you got the error when opening an Access database, but now the issue appears to be downloading.  Is the database one that you downloaded (from where?), and does the error appear when selecting the database to download, or when opening it?
actually , i'm downloading files from one site , learning site , when i open some of them (opening startup up form ) , it occure the error
please just check the attached file , and give me your feed back
UUU4.zip
I downloaded the database, and found that the error has something to do with the frmKM form.  I made a new form, and copied objects to it from the original form, and cleaned up the code that synchs to a selected record (using a combo box instead of a free-form textbox, so only correct numbers could be chosen).  The test form opens without error, but when I select a value from the combo box, I get the error again.  This database has Arabic (I think) text, so presumably it was created for an Access version for an Arabic-speaking country.  Maybe the problem has something to do with that.  I think you may need to recreate the database from scratch (it has only a few objects, so this wouldn't be much of an issue).  

I am attaching the modified database, in case the code on the test form is of use to you.
HBF-Modified-UUU3.accdb
Also, consider normalization.  If this is a database for storing client orders, the Northwind sample database is a good reference.  See my recent Access Archon article #238, which has several one-to-many forms based on the Northwind tables.  here is a link for downloading it:

http://www.helenfeddema.com/Files/accarch238.zip

and here is a Customers and Orders form:
User generated image
YES helen
thanx for your help
actually you are correct , the text in arabic
what i'm doing is i'm supervisor for one learning site , i'm downloading files of members whom they are asking questions via forum about their problems , but mostly i'm facing this problems when opening their files such this
so it is so difficult to always copy the forms again
I think that the first thing to do with this database is normalize the tables in a one-to-many relationship, then create a form with a subform, the main form being bound to the "one" table, and the subform to the "many" table.  Tabbed forms are great for many purposes, but in this case (if I understand it correctly) a form with a subform would be better.
thanx
but sorry again
this case not only for this database , it is with most files i downloaded from member questions
every day i'm downloading around 6 -. 7 files like the one i attached
should i adjust every file i downloaded ?
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
For what it's worth, I got the same error when opening the problem database on my computer (I don't get the error on any other database), so I think the problem is either in the database, or possibly due to localization problems.