Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CA and Insert command
Message
De
06/03/2007 17:34:55
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
CA and Insert command
Divers
Thread ID:
01201258
Message ID:
01201258
Vues:
47
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform