Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using ADO in ntier
Message
De
16/09/2002 13:53:44
 
 
À
16/09/2002 11:08:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00700771
Message ID:
00700898
Vues:
11
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.
>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform