Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pass more than one parameter to SQL stored proc?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Pass more than one parameter to SQL stored proc?
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01323354
Message ID:
01323354
Views:
93
I have some code that works just fine like this:

lcParameter_Value = 'MyParam'
lcStoredProcedure = 'MySPname'
lcCommand = ALLTRIM('exec ' + lcStoredProcedure + ' ' + lcParameter_Value )
lnSQLEXECResult = SQLEXEC(lnConnectionHandle , lcCommand, 'ResultSet')


....Now I need to pass more than one parameter to the stored procedure. Anyone know how I can do that?
ICQ 10556 (ya), 254117
Next
Reply
Map
View

Click here to load this message in the networking platform