Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't connect to servers with SQLSMO
Message
 
 
To
02/12/2002 14:23:35
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00728512
Message ID:
00728721
Views:
17
Strange. It works for me on two different PC's. I'm running SQL 2000. 1429 is VFP error. What's OLE error code and message?

>>Both of them work for me and I'm using VFP7SP1. oServers is collection so I don't know why FOR EACH gives an error. What's the value of oServers.Count on your PC?
>
>It has a value of 3. I was using VFP8 but tried it with VFP7 with the same problem. The error is 1429.
>
>>>It works in your machine? Interesting. In mine, FOR EACH fails, but if I replace it with FOR i=1 TO oServers.Count it works. From that it would seem that oServers is not a collection, which is needed for the FOR EACH, no?
>>>
>>>For the moment I am off the hook, but am curious why it worked in your machine.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform