Hello,
Continuing with great and very usefull ADO functions created by Mr. Nages, it would be very interesting to have also the following:
- Optimice table.
- Backup table.
Thank you very much.
- Optimice table.
- Backup table.
With MS Access you can 'compact and repair'
Antonio Linares wrote:Rick,With MS Access you can 'compact and repair'
How to do it from ADO ? thanks
oJro = CREATEOBJECT( "JRO.JetEngine" )
oJro:CompactDatabase( cConnectionString1, cConnectionString2 )
cConnectionString1 := "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=MyDatabase.mdb"
cConnectionString2 := "Provider=Microsoft.Jet.OLEDB.4.0;ataSource=MyCompactedDatabase.mdb"
Rick Lipkin wrote:Enrico
cConnectionString1 is the path and name of the current .mdb ?
cConnectionString2 is the path and name of the new ( repaired ) .mdb ?
Thanks
Rick Lipkin
cConnectionString1 := "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=MyDatabase.mdb"
cConnectionString2 := "Provider=Microsoft.Jet.OLEDB.4.0;ataSource=MyCompactedDatabase.mdb"
Return to To do - WishList / Por hacer - Peticiones
Users browsing this forum: No registered users and 3 guests