VBA Issue with Access

Everytime I try and compile the code in my access 2007 data base I get an error that states

"error accessing file connection may be lost"
seamus9909Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

MacroShadowCommented:
0
seamus9909Author Commented:
That states access 2000.  I'm using 2007
0
MacroShadowCommented:
Are you using a split database setup? If so can you verify that the tables are linked correctly?

Try importing all objects to a new database.
0
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

seamus9909Author Commented:
yes I am using a split database and have relinked all the Tables again from the backend.
0
MacroShadowCommented:
And the error still occurs?

Did you try importing all objects to a new database?
0
seamus9909Author Commented:
so when you say all the objects, do you mean import all the forms, queries, macros ect.. into a new FE?
0
seamus9909Author Commented:
when I try to import all the objects into a new database I get the same error while its importing


error accessing file connection may be lost
0
Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
Before doing anything else, make a backup of your database.

Are you able to Compact the database? In 2007 you click the big Office button, then click Manage - Compact.

If you can't do that, try Decompiling the database. To do that, create a shortcut with this as the Target:

"full path to msaccess.exe" "full path to your database" /decompile

If you can successfully decompile, then try the Compact again. If you can compact, I'd still import everything into a new container.

Also be sure that your Office and Windows installations are fully up to date. Issues like this can often be caused by faulty/corrupt installations.
0
seamus9909Author Commented:
So I did all that.   Does the decomplile remove all the Code?    And then do I have to import the modules back into the FE DB?
0
seamus9909Author Commented:
cant seem to figure this out. I have attached the FE and BE version of the database, if someone could look into this and figure out what is wrong with the VBA projects I would much appreciate it.

There is no confidential information in this database.
LARMSV-FE-v2.0--2-.accdb
LARMSV-BE-V2.0.accdb
0
MacroShadowCommented:
Seems corrupt beyond repair.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
seamus9909Author Commented:
so what is my option???
0
MacroShadowCommented:
Use a backup if you have one.
0
Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
There are some services that will attempt to fix a corrupt database. The best one seems to be www.everythingaccess.com.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.