Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Odbccp32
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Odbccp32
Divers
Thread ID:
00886660
Message ID:
00886660
Vues:
47
i am trying to use odbccp32.dll in vfp8 to compact an access database using the following code but i don't get an option to pack as it returns a 0 all the time. any ideas much appreciated.

DECLARE short packingaccess in odbccp32.dll Integer, Integer, String, String
lcFile = "D:\company\userdb.mdb"

IF packingaccess(0,1,"Microsoft Access Driver (*.mdb)","COMPACT_DB= " + lcFile)=0
messagebox(fail)
else
messagebox(success)
Endif

Slán
~M
Go raibh maith agat

~M
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform