VBA project does not compile

A

angus

When pressing the compile option in VBA I get the
hourglass for a second however it appears that it has not
compiled corerctly. Also changes that I have made in the
code are not reflected when I run it.

I have compacted and repaired the database but to no
avail. Does anyone know how I can fix it or is totally
corrupted?
 
T

TC

Maybe a job for decompile!

Take a backup copy of your database. Create the shortcut shown below (all on
one line). Run the shortcut, open the copy, compact it, then try the
compile-all again. Note that this process >does not< affect the original, so
if it does not work, you can not possibly be worse off.

"full path to MSACCESS.EXE" /decompile "full path to copy of db"

HTH,
TC
 
A

angus

Cheers TC, worked a treat!
-----Original Message-----
Maybe a job for decompile!

Take a backup copy of your database. Create the shortcut shown below (all on
one line). Run the shortcut, open the copy, compact it, then try the
compile-all again. Note that this process >does not< affect the original, so
if it does not work, you can not possibly be worse off.

"full path to MSACCESS.EXE" /decompile "full path to copy of db"

HTH,
TC





.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top