Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing Constants using OLE
Message
De
28/10/2004 11:18:21
Gaylen Miller
Leaderware Corporation
Fulton, Illinois, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Passing Constants using OLE
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
00955318
Message ID:
00955318
Vues:
49
Hello,

The MS Access TransferText method's first parameter is a constant (acExportDelim).
How can I pass this constant to Access in my code?
As written below Foxpro thinks acExportDelim is a variable.
If I try to pass it as text Access rejects it.
Please Help...
Openmdb = "C:\DATA_TEST\10_SHOP.mdb"

oleApp = CREATEOBJECT("Access.Application")
oleApp.Visible = .T.
oleApp.OpenCurrentDatabase(Openmdb, .T.)
oleApp.DoCmd.TransferText(acExportDelim, "", "Customer", "C:\DATA_TEST\TestCustomer.txt")
Thank you very much,
Gaylen Miller
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform