PC Review


Reply
Thread Tools Rate Thread

Access 2000 and 2003 compatability

 
 
=?Utf-8?B?RnJhbmMgU3V0aGVybGFuZA==?=
Guest
Posts: n/a
 
      18th Jul 2007
Hello everyone,

I have made a system in Access 2003, but in the Access 2000 format, as the
end-user has 2000 on his PC. However, the mdb file is not proving to be very
stable.
It has started to not recognise the date() function, which meant I had to go
through all the queries and VBA changing date() to now(). Also, I had to do
this on my own machine, as I could not access the VB editor for this file
through the Access 2000 programme. To check whether the VBE in the 2000 was
working at all, I created a new database and did ALT = F11, and it was
working fine. For some reason, the VBA project is completely locked in the
file I created using 2003. It is not an MDE file, and I have never saved it
in 2003 version, but, always in 2000 version. Can anyone explain why I can't
get into the VBE when I open the mdb file in the 2000 version?
I would really appreciate your help, this is starting to become a problem.
Many Thanks,
Franc Sutherland.
 
Reply With Quote
 
 
 
 
Allen Browne
Guest
Posts: n/a
 
      18th Jul 2007
Okay, Franc, there's a few possible issues here.

Firstly, it could be an issue with Library References. Details:
http://allenbrowne.com/ser-38.html

If that doesn't solve the problem, there's a pretty good chance that a
decompile will fix it. Each version of Access has a different binary for the
compiled code. Access 2000 can't use the A2003 binary, so what it's supposed
to do is ignore that binary and generate its own 2000 binary. It doesn't
work perfectly, so you need to issue a decompile to explicitly discard the
A2003 binary, and allow A2000 to create its own. (A2003 can use the A2000
binary.)

Here's a standard set of steps to handle a whole raft of issues that could
apply. Perform them in order:

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/Repair

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 (holding down the Shift key if you have any startup code),
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.

At this point, you should have a database where the name-autocorrect errors
are gone, the indexes are repaired, inconsistencies between the text- and
compiled-versions of the code are fixed, reference ambiguities are resolved,
and the code syntax is compilable.

If it is still a problem, the next step would be to get Access to rebuild
the database for you. Follow the steps for the first symptom in this
article:
Recovering from Corruption
at:
http://allenbrowne.com/ser-47.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.

"Franc Sutherland" <(E-Mail Removed)> wrote in
message
news:7E9B66D7-76FB-4AE8-B0C6-(E-Mail Removed)...
> Hello everyone,
>
> I have made a system in Access 2003, but in the Access 2000 format, as the
> end-user has 2000 on his PC. However, the mdb file is not proving to be
> very
> stable.
> It has started to not recognise the date() function, which meant I had to
> go
> through all the queries and VBA changing date() to now(). Also, I had to
> do
> this on my own machine, as I could not access the VB editor for this file
> through the Access 2000 programme. To check whether the VBE in the 2000
> was
> working at all, I created a new database and did ALT = F11, and it was
> working fine. For some reason, the VBA project is completely locked in
> the
> file I created using 2003. It is not an MDE file, and I have never saved
> it
> in 2003 version, but, always in 2000 version. Can anyone explain why I
> can't
> get into the VBE when I open the mdb file in the 2000 version?
> I would really appreciate your help, this is starting to become a
> problem.
> Many Thanks,
> Franc Sutherland.


 
Reply With Quote
 
=?Utf-8?B?RnJhbmMgU3V0aGVybGFuZA==?=
Guest
Posts: n/a
 
      25th Jul 2007
Hi Allen,

That's been really useful, a great help. Many thanks for taking the time
and effort to help me out.

Kind Regards,

Franc.

"Allen Browne" wrote:

> Okay, Franc, there's a few possible issues here.
>
> Firstly, it could be an issue with Library References. Details:
> http://allenbrowne.com/ser-38.html
>
> If that doesn't solve the problem, there's a pretty good chance that a
> decompile will fix it. Each version of Access has a different binary for the
> compiled code. Access 2000 can't use the A2003 binary, so what it's supposed
> to do is ignore that binary and generate its own 2000 binary. It doesn't
> work perfectly, so you need to issue a decompile to explicitly discard the
> A2003 binary, and allow A2000 to create its own. (A2003 can use the A2000
> binary.)
>
> Here's a standard set of steps to handle a whole raft of issues that could
> apply. Perform them in order:
>
> 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/Repair
>
> 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 (holding down the Shift key if you have any startup code),
> 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.
>
> At this point, you should have a database where the name-autocorrect errors
> are gone, the indexes are repaired, inconsistencies between the text- and
> compiled-versions of the code are fixed, reference ambiguities are resolved,
> and the code syntax is compilable.
>
> If it is still a problem, the next step would be to get Access to rebuild
> the database for you. Follow the steps for the first symptom in this
> article:
> Recovering from Corruption
> at:
> http://allenbrowne.com/ser-47.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.
>
> "Franc Sutherland" <(E-Mail Removed)> wrote in
> message
> news:7E9B66D7-76FB-4AE8-B0C6-(E-Mail Removed)...
> > Hello everyone,
> >
> > I have made a system in Access 2003, but in the Access 2000 format, as the
> > end-user has 2000 on his PC. However, the mdb file is not proving to be
> > very
> > stable.
> > It has started to not recognise the date() function, which meant I had to
> > go
> > through all the queries and VBA changing date() to now(). Also, I had to
> > do
> > this on my own machine, as I could not access the VB editor for this file
> > through the Access 2000 programme. To check whether the VBE in the 2000
> > was
> > working at all, I created a new database and did ALT = F11, and it was
> > working fine. For some reason, the VBA project is completely locked in
> > the
> > file I created using 2003. It is not an MDE file, and I have never saved
> > it
> > in 2003 version, but, always in 2000 version. Can anyone explain why I
> > can't
> > get into the VBE when I open the mdb file in the 2000 version?
> > I would really appreciate your help, this is starting to become a
> > problem.
> > Many Thanks,
> > Franc Sutherland.

>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
2000 and 2003 ost/pst compatability =?Utf-8?B?ZGF2aWQ=?= Microsoft Outlook Discussion 6 21st Oct 2005 03:34 PM
Access 2000 compatability with Access 2003 =?Utf-8?B?R0Q=?= Microsoft Access 4 6th May 2005 11:08 PM
2000/2003 compatability question =?Utf-8?B?S2lt?= Microsoft Word Document Management 2 28th Dec 2004 04:39 PM
Re: FP 2000 and FP 2003 compatability Tom Pepper Willett Microsoft Frontpage 0 22nd Jul 2004 11:13 PM
Re: FP 2000 and FP 2003 compatability Steve Easton Microsoft Frontpage 0 22nd Jul 2004 10:40 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:11 PM.