A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

trouble working with XP mdb open in access 2003



 
 
Thread Tools Display Modes
  #1  
Old June 6th, 2006, 08:59 AM posted to microsoft.public.access
ליאורה
external usenet poster
 
Posts: 4
Default trouble working with XP mdb open in access 2003

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
  #2  
Old June 6th, 2006, 09:06 AM posted to microsoft.public.access
Allen Browne
external usenet poster
 
Posts: 11,706
Default trouble working with XP mdb open in access 2003

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

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"??????" wrote in message
...
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



 




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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 04:26 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright 2004-2024 OfficeFrustration.
The comments are property of their posters.