Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 6.0 (SP3) AND SQL 6.5
Message
From
24/10/2000 05:37:44
 
 
To
24/10/2000 05:02:11
Fida Shamsoodeen
Combined Systems (Pty) Ltd
Centurion, South Africa
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00433349
Message ID:
00433352
Views:
16
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
Previous
Reply
Map
View

Click here to load this message in the networking platform