Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ADO Command Object Question
Message
From
03/03/2000 00:28:34
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
ADO Command Object Question
Miscellaneous
Thread ID:
00341085
Message ID:
00341085
Views:
51
Hi All:

I've been able to execute a Stored Procedure in SQL SERVER 7.0 using the ADO Command Object passing 1 parameter via a COM (.exe) I wrote in VFP. It works great and it's SUPER fast.

Now I need to send THREE (3) parameters to the Stored Procedure and I'm not sure how this is done. I've tried this ...

I've tried this ....

DIMENSION aParameters[3]
aParameters[1] = lnFirstVar
aParameters[2] = lnSecondVar
aParameters[3] = lnThirdVar
oCommand.Execute(,@aParameters,)

... and it didn't work. What am I doing wrong here? Is it possible to send more than one parameter?

Thanks In Advance,

Mal
Next
Reply
Map
View

Click here to load this message in the networking platform