Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP to Access Again
Message
From
01/05/2008 15:01:50
Dave Nantais
Light speed database solutions
Ontario, Canada
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Miscellaneous
Thread ID:
01314382
Message ID:
01314593
Views:
4
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform