Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Compact a MDB file using ADO or SQL
Message
De
12/08/2002 23:44:57
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00688777
Message ID:
00688968
Vues:
24
>Hi all!
>
>Anybody knows how to compact a MDB using ADO or SQL pass throught ?
>
>
>Is it possible ?

You could use Jet and Replication Objects (JRO); sample code (not tested):
oJE = CreateObject("JRO.JetEngine")
oJE.CompactDatabase("Data Source=" + Source Database With Path, ;
  "Data Source=" + Destination Database With Path)
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform