Hi,
This is actually an MS Access problem, but i thought i'd put it here as
well. If anyone can help....
I am working on a database and on a specific form i have a button for
'Compact Database'. Now the code i use to compact onClick of the button is:
CommandBars("Menu Bar").Controls("Tools").Controls("Database
utilities").Controls("Compact and repair database...").accDoDefaultAction
This works fine except if a guy in say, japan, uses it and has a japanese
language pack, then access cant find "Menu Bar", "Tools", etc. cause they are
in english in the code and in japanese in access and a problem occurs.
so i wanted to know if there is a different way to compact where i could
probably use some internal properties etc. and where language wont be a
problem. I need to compact an active database....
alborg - 22 Oct 2007 09:01 GMT
Check out the code found here:
http://www.ozgrid.com/forum/showthread.php?t=36395
It can be called on database close...
AL
> Hi,
>
[quoted text clipped - 14 lines]
> probably use some internal properties etc. and where language wont be a
> problem. I need to compact an active database....