Forum Discussion
John_Vallier
Feb 01, 2023Copper Contributor
Convert From Accde/Accdr back to Accdb
We have a need to convert a database from .accde/.accdr back to .accdb. Weekly now, from 12/24/2022 to present, the error 3464 Datatype mismatch in criteria expression pops up. After recompiling the database, it works for a while, about a week later, the error resurfaces. We have narrowed down the place where the error occurs, it is one form. We have altered the extension from .accdr to .accdb but that does nothing for code access/view as the VBA objects remain in an unviewable state.
I appreciate any insight you may have.
- loufabCopper Contributorhi, Did you try decompiling the accdb before compiling and generating the accde ?
- John_VallierCopper ContributorI normally just recompile the accdb. I can perform the decompile if and when the error pops up again.
- loufabCopper Contributor
No, the decompilation only works with an accdb.
It recreates many important things in an accdb. I do it before each delivery in production.
This may fix your problem.
Use this procedure on my blog :
http://blogaccess.free.fr/?p=75
- arnel_gpSteel Contributorif for any extension change and the db code is still unviewable, then it is an .accde.
changing the extension does not change the fact that it is already compiled as accde.
access will see this by reading the file signature.- John_VallierCopper ContributorThank you arnel_gp for replying.
- George_HepworthSilver Contributor
Unfortunately, there is no way to convert an accde to an accdb. That's actually one of the reasons for creating an accde: changes to VBA and other objects are blocked.
Somewhere in your environment, you should have the original accdb from which the accde was created. You can use it to correct the error and then recreate a new accde to replace this one with the flaw in it.
- John_VallierCopper ContributorGeorge - thank you for replying. The original .accdb is available. We have just been recompiling it and releasing back to production. It works for a while but eventually the error pops up.
- George_HepworthSilver Contributor
Ah, the original description implied that you didn't have the accdb. So, the problem is in that accdb itself. That's where you have to find and correct the problem BEFORE recompiling to accde again.
It is possibly an unhandled error in the VBA, OR incipient corruption in the source accdb.
Karl's right about the conversion service, and I would have suggested that if you didn't have the acdb to work with.
Hi George,
Actually there is 1 way: Wayne's conversion service
It's commercial, but the only one and excellent.
Servus
Karl
****************
Access Bug Trackers
Access News
Access DevCon