Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sql server - vfp how?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01541027
Message ID:
01541180
Vues:
50
"How can I create a table in SQL from VFP and populate it from a cursor?"

While I guess you could do that (maybe), it would be messy at best and you would have numerous security issues to overcome.
Normally you create the table in SQL via the SQL Management tools/scripts and then you insert records from VFP.

Following up on the previous sql pass through example.

******************************************************************
*** we have intHandle from the previous example
strSQL = [insert into Names (intPK, FirstName, LastName) values (1, 'Kevin', 'Emmrich') ]
intResults = SQLEXEC(intHandle, strSQL)

******************************************************************

Kevin
Kevin Emmrich
www.jkt9000.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform