Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CA and Insert command
Message
From
06/03/2007 17:34:55
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
CA and Insert command
Miscellaneous
Thread ID:
01201258
Message ID:
01201258
Views:
48
Hi all,

I have a ADO recordset into a CA, I fill a temporary cursor on the side with the info needed in the CA, now I want to put the info in the temporary cursor into the CA, I use the following, but am getting syntax error, what am I missing?
    lcfields = ALLTRIM(patables[pnrow, 4])
    INSERT INTO (patables[pnrow, 2]) (EVALUATE(lcfields)) ;
      SELECT (EVALUATE(lcfields)) FROM 'cctable' WHERE .T.
cctable is the temporary cursor
patables is an array that holds info about the SQL server table that needs to be entered.
lcfields is the character list of the fields in the CA.

TIA
Beth
Next
Reply
Map
View

Click here to load this message in the networking platform