Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing ADO connection to COM+
Message
De
29/11/2001 22:39:58
Bob Tracy
Independent Consultant
Driftwood, Texas, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00587234
Message ID:
00587824
Vues:
29
Kurt,

You still need to create an instance of an ADO connection. So far, all you have done is declare a variable name. Add:

loConnection = CREATEOBJECT('ADODB.Conncection')

then, set up any other connection properties you might need.

David's suggestion has the same problem: LOCAL oConnection AS ADODB.Connection does not create an instance of the object, it types the variable so it can be used in IntelliSense. Made that same mistake myself :) HTH
Bob Tracy

Never engage in a battle of wits if you're only half armed.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform