Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP to Access Again
Message
De
01/05/2008 15:05:20
Dave Nantais
Light speed database solutions
Ontario, Canada
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Divers
Thread ID:
01314382
Message ID:
01314595
Vues:
7
Because of the fonts used on the UT its a bit hard to read the code and the nested quotes....
therefore I've posted the same code but spaced out so its more easily readable.


lnResult = ;
SQLEXEC(lnHandle, "INSERT INTO accounts " + ;
"(pswd) VALUES ( 'ExactPassword' ) "


m.lcMyInsertCommand = ;
" INSERT INTO accounts (pswd) VALUES ' " + m.lcMyPassword + " ' ) "

lnResult = SQLEXEC(lnHandle , m.lcMyInsertCommand )


let me know how well this technique works :)

Dave.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform