Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP 6.0 (SP3) AND SQL 6.5
Message
De
24/10/2000 05:37:44
 
 
À
24/10/2000 05:02:11
Fida Shamsoodeen
Combined Systems (Pty) Ltd
Centurion, Afrique du Sud
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00433349
Message ID:
00433352
Vues:
17
Try this:

lcConnectionStr = "DRIVER={SQL Server};" +;
"SERVER=YourServerName;" +;
"DATABASE=NORTHWIND;" +;
"UID=sa;" +;
"PWD="

nSql = SQLSTRINGCONNECT(lcConnectionStr)

SQLEXEC(nSql, "sp_pkeys [order details]", "pkeys")

This calls the stored procedure sp_pkeys and returns primary key information for the table [order details] into a VFP cursos pkeys.
Daniel
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform