dbTalk Databases Forums  

DAO Compile Error

comp.databases.ms-access comp.databases.ms-access


Discuss DAO Compile Error in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jennifer
 
Posts: n/a

Default DAO Compile Error - 02-27-2008 , 08:02 PM






I've been working with an Access 97 application, through various
versions, for 10 years. This application runs asan mde in runtime mode
on hundreds of PCs around the globe.

About a week ago I started getting frequent corruption in the front
end mdb, followed by compile errors for DAO 3.51 declarations, on my
development PC.

My app starts using a CheckReferences routine, written, I think, by
the Harbin bros. I've been using this routine in this application
since 1999. DAO is still there and the reference is intact.

I import everything into a new database and recompile using /decompile
and the problem goes away ... for a bit.

I have reinstalled Acc97 + SR2. Problem keeps coming back. Any clues?

Thanks

Jennifer

Reply With Quote
  #2  
Old   
Dominic Vella
 
Posts: n/a

Default Re: DAO Compile Error - 02-27-2008 , 09:02 PM






It may have something to do with computers moving from WindowsVista to
WindowsXP. To check references you generally need to use the ADOX
reference. WindowsVista keeps changing the reference to a newer version.
When the front end is brought back to WindowsXP, the reference is corrupt.

Other than that, it's amazing Access97 still works. That's pretty cool

Dom


"Jennifer" <MXRoute (AT) gmail (DOT) com> wrote

Quote:
I've been working with an Access 97 application, through various
versions, for 10 years. This application runs asan mde in runtime mode
on hundreds of PCs around the globe.

About a week ago I started getting frequent corruption in the front
end mdb, followed by compile errors for DAO 3.51 declarations, on my
development PC.

My app starts using a CheckReferences routine, written, I think, by
the Harbin bros. I've been using this routine in this application
since 1999. DAO is still there and the reference is intact.

I import everything into a new database and recompile using /decompile
and the problem goes away ... for a bit.

I have reinstalled Acc97 + SR2. Problem keeps coming back. Any clues?

Thanks

Jennifer



Reply With Quote
  #3  
Old   
Jennifer
 
Posts: n/a

Default Re: DAO Compile Error - 02-27-2008 , 09:03 PM



On Feb 28, 1:02*pm, "Dominic Vella" <dominic.ve... (AT) optusnet (DOT) com.au>
wrote:
Quote:
It may have something to do with computers moving from WindowsVista to
WindowsXP. * To check references you generally need to use the ADOX
reference. * WindowsVista keeps changing the reference to a newer version.
When the front end is brought back to WindowsXP, the reference is corrupt.

Other than that, it's amazing Access97 still works. * That's pretty cool

Dom

"Jennifer" <MXRo... (AT) gmail (DOT) com> wrote in message

news:85a5f8ef-9fb8-424e-8d93-b06a25be7dc4 (AT) s13g2000prd (DOT) googlegroups.com...



I've been working with an Access 97 application, through various
versions, for 10 years. This application runs asan mde in runtime mode
on hundreds of PCs around the globe.

About a week ago I started getting frequent corruption in the front
end mdb, followed by compile errors for DAO 3.51 declarations, on my
development PC.

My app starts using a CheckReferences routine, written, I think, by
the Harbin bros. I've been using this routine in this application
since 1999. DAO is still there and the reference is intact.

I import everything into a new database and recompile using /decompile
and the problem goes away ... for a bit.

I have reinstalled Acc97 + SR2. Problem keeps coming back. Any clues?

Thanks

Jennifer- Hide quoted text -

- Show quoted text -
Hello Dominic

Thank you or your input. The runtime version runs happily on both XP
and Vista (thanks to sagekey.com). The development version, where I
have the problem, is only on XP.

Jen


Reply With Quote
  #4  
Old   
Jennifer
 
Posts: n/a

Default Re: DAO Compile Error - 03-07-2008 , 01:06 AM



On Feb 28, 1:03*pm, Jennifer <MXRo... (AT) gmail (DOT) com> wrote:
Quote:
On Feb 28, 1:02*pm, "Dominic Vella" <dominic.ve... (AT) optusnet (DOT) com.au
wrote:





It may have something to do with computers moving from WindowsVista to
WindowsXP. * To check references you generally need to use the ADOX
reference. * WindowsVista keeps changing the reference to a newer version.
When the front end is brought back to WindowsXP, the reference is corrupt.

Other than that, it's amazing Access97 still works. * That's pretty cool

Dom

"Jennifer" <MXRo... (AT) gmail (DOT) com> wrote in message

news:85a5f8ef-9fb8-424e-8d93-b06a25be7dc4 (AT) s13g2000prd (DOT) googlegroups.com...

I've been working with an Access 97 application, through various
versions, for 10 years. This application runs asan mde in runtime mode
on hundreds of PCs around the globe.

About a week ago I started getting frequent corruption in the front
end mdb, followed by compile errors for DAO 3.51 declarations, on my
development PC.

My app starts using aCheckReferencesroutine, written, I think, by
the Harbin bros. I've been using this routine in this application
since 1999. DAO is still there and the reference is intact.

I import everything into a new database and recompile using /decompile
and the problem goes away ... for a bit.

I have reinstalled Acc97 + SR2. Problem keeps coming back. Any clues?

Thanks

Jennifer- Hide quoted text -

- Show quoted text -

Hello Dominic

Thank you or your input. The runtime version runs happily on both XP
and Vista (thanks to sagekey.com). The development version, where I
have the problem, is only on XP.

Jen- Hide quoted text -

- Show quoted text -
Just in case this is of any use to anyone, the problem is fixed ...
the CheckReferences routine has to be called from autoexec to be
effective. I recently moved it so that it was called from a module.
Once I put it back, the corruption problems went away.

Jen


Reply With Quote
Reply




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 On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.