Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Exporting data in MSACCESS
Message
De
19/03/2007 14:17:15
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01192149
Message ID:
01205669
Vues:
23
>>>How about double quotes around the path? The original problem was related to a space in the path.
>>
>>In that case
>>
lcFullPath=forcepath(lcMDBName, lcMDBDir)
>>cString=textmerge([Driver={Microsoft Access Driver (*.mdb)};Dbq="<<lcFullPath>>";Uid=Admin;Pwd=;]
>>lnConnHandle=sqlstringconnect(cString)
>>if lnConnHandle<1
>>   aerror(ee)
>>   messagebox(ee[2])
>>endif
>
>He-he <g> And what if you don't have a space? You just wasted a double quote <g>

A double quote is never alone - they come in pairs. Should be called quad quotes :).

No waste though, I make them from recycled bytes only.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform