Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 6.0 (SP3) AND SQL 6.5
Message
 
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:
00433594
Views:
17
If you are trying to pass parameters back rather than a cursor you need to use the 'CALL' syntax.

stringvar=' '
iRetVal=0
iResult=SQLEXEC(ConnectionHandle,'{CALL StoredProc (?stringvar, ?@iRetval)}')

This is passing 2 variables to the stored procedure and the second variable (iRetVal) is returned. This variable within the stored procedure must be an 'Out' type variable.

HTH,
George


>HI ALL
>
>Can anyone please tell me how to called a stored procedure from sql 6.5 server from VFP?
>
>
>Thanks
>Fida
Everything we see or seems
Is but a dream within a dream
- Edgar Allen Poe
Previous
Reply
Map
View

Click here to load this message in the networking platform