Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQLEXEC won't Insert data
Message
From
05/01/2008 12:09:25
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
SQLEXEC won't Insert data
Miscellaneous
Thread ID:
01279605
Message ID:
01279605
Views:
67
I'm learning how to use SQLEXEC and have run into the following problem.

Use localFoxproTable
Scan
lnsuccess = SQLEXEC(gnConnHandle, "INSERT INTO Sync_Box (field1) values (localFoxproTable.field1)")
Endscan

My handle is good but lnsuccess is -1

Both fieldtypes are numeric.

What am I doing wrong? Thanks in advance.
Next
Reply
Map
View

Click here to load this message in the networking platform