Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SPT Insert Syntax
Message
 
To
13/09/2006 10:17:31
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01153293
Message ID:
01153314
Views:
13
>It is a VFP Cursor.

You can't do that. ODBC driver doesn't see your VFP cursors.
You could do something like:
SQLPREPARE(lnSQL, "Insert Into webprddt6.tsotagtblt (cono, recseq) VALUES (?myTest.cono, ?myTest.SerNo)")
SELECT myTest
SCAN
   SQLEXEC(lnSQL)
ENDSCAN
not tested and no error handling in that example.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform