Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why I prefer stored procs
Message
 
 
To
15/06/2007 12:44:47
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01232867
Message ID:
01233586
Views:
9
Cetin,

It can be done even simpler with SQL Server OLE DB provider in VFP
WITH This.oCommand
  .CommandType = ADCMDSTOREDPROC
  .CommandText = <Name of a stored procedure>
  .Parameters.Refresh
  * Now Parameters collection is populated with stored procedure parameters
  FOR Each loPrm In .Parameters
    ...
  ENDFOR
ENDWITH
>This wouldn't work if you use a generic driver like OleDb, no?
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform