trouble working with XP mdb open in access 2003

  • Thread starter לי×ורה
  • Start date
×

לי×ורה

We installed access 2003 - before we work with access xp - the program worked
ok.
when we open the old MDB with access 2003 we have a lot of problem.

message with run time error. for example there is a form that contain fiels
in name "ORDER id" and a botten at the "after update" event there is a event
procedure that reffer to the "ORDER ID" field by using "ME![ORDER ID]" -
before it work at XP but now I recieved an error : "can't find the field
"order id" referred to.."

what can be the problem- Please Help

Liora
 
A

Allen Browne

This should work okay if all you have done is change your Access version
(i.e. this is actually on the same computer without changing anything in
Windows.)

Suggested sequence:

1. Uncheck the boxes under:
Tools | Options | General | Name AutoCorrect
Explanation of why:
http://allenbrowne.com/bug-03.html

2. Compact the database to get rid of this junk:
Tools | Database Utilities | Compact

3. Close Access. Make a backup copy of the file. Decompile the database by
entering something like this at the command prompt while Access is not
running. It is all one line, and include the quotes:
"c:\Program Files\Microsoft office\office\msaccess.exe" /decompile
"c:\MyPath\MyDatabase.mdb"

4. Open Access, and compact again.

5. Open a code window.
Choose References from the Tools menu.
Uncheck any references you do not need.
For a list of the ones you typically need in your version of Access, see:
http://allenbrowne.com/ser-38.html

6. Still in the code window, choose Compile from the Debug menu.
Fix any errors, and repeat until it compiles okay.

7. If your form has a subform, make sure to include the ".Form" bit in any
references. More info:
http://allenbrowne.com/casu-04.html
 

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

Top