Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ADO error.
Message
From
13/11/2001 16:18:34
 
 
To
13/11/2001 13:09:17
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00580990
Message ID:
00581136
Views:
18
Also look at this download that will generate the code to call any stored procedure defined on a SQL Server DB via an ADO command object.

http://www.levelextreme.com/wconnect/wc.dll?FournierTransformation~2,54,Forum=5,28,1196
HTH

>If any of you out there are useing ADO please give me the answer to this. I am doing a test to run a stored procedure through Fox using the following command and.
>
>Oconnection = createobject("adodb.connection")
>
>oConnstr = "Provider=SQLOLEDB; user ID=sa; password = sql001;"
>oConnstr = oConnstr + "Initial catalog=bmsdev2; Data Source = dakota2"
>Oconnection.ConnectionString = oConnstr
>
>oConnstr = "Provider=SQLOLEDB; user ID=sa;"
>oConnstr = oConnstr + "Initial catalog=bmsdev; Data Source = dakota2"
>Oconnection.ConnectionString = oConnstr
>
>"Here is where I create my parameter"
>
>.Parameters.Append .CreateParameter("@praclocid", adChar, adParamInput, 9, "9697978")
>
>I am getting the error variable "ADCHAR" not found.
>
>Now 'adChar' is one of the parameters that ADO uses, why would I get thia error?
Previous
Reply
Map
View

Click here to load this message in the networking platform