Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using ADO in ntier
Message
From
16/09/2002 13:53:44
 
 
To
16/09/2002 11:08:33
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00700771
Message ID:
00700898
Views:
9
If the error is in the Open statement I would double check that the connection ghConnection is valid and open and that the syntax in the SQL string is also valid.

IOW, check that ghConnection is an object and that the State property = 1 (adStateOpen).

>The only error that I get (because the whole process stops at this point) is that the "OLE IDispatch exception code 429 from capanegocios.CapaNegocios CapaNegocios:.consultaestadocuenta e:\capanegocios.prg Error in line 15 OLE IDispatch exception code 429 from capadatos.CapaDatos CapaDatos: .estadocuenta e:\capadotos.prg Error in line 26 OLE IDis.."
> line 26 is the open() that I showed in my first message.
>
>but, this is my second open statement. there is another open statement, where I populate another RS for the first form. If I set the active connection to Null, will this make that RS unuseable?
>
> If you can not tell, I am Very new to this ADO stuff.
>
Previous
Reply
Map
View

Click here to load this message in the networking platform