|
|||
|
I'm working with an access database and swfkit through ado.
But from time to time, the size of the mdb gets to high In access i can do this to Compact and Repair a currently open database manually... Go to Tools > Database Utilities > click Compact and Repair Database/Project. Is there a way to do this also with swfkit and ado for users who haven't installed microsoft office |
|
|||
|
http://support.microsoft.com/?scid=k...30501&x=9&y=12
Code:
var jro = new ActiveXObject("jro.JetEngine");
jro.CompactDatabase("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=d:\\nwind2.mdb;Jet OLEDB:Database Password=test",
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=d:\\abbc2.mdb;Jet OLEDB:Engine Type=4;Jet OLEDB:Database Password=test");
|
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|