Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP to Access Again
Message
De
01/05/2008 15:01:50
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:
01314593
Vues:
5
I would avoid the issue by buildng the INSERT command in a different way

Let's just insert the password string just to keep things simple.

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

Now if you do not want to hard code the password you'd build the INSERT command string like this

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

where lcMyPassword is a string variable containing the password.

good luck!

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

Click here to load this message in the networking platform