Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CursorAdapter and Connections to SQL Server
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01471167
Message ID:
01471183
Vues:
69
This message has been marked as a message which has helped to the initial question of the thread.
>I have an application object too. But for the purpose of having a connection object values "global" I created a public object ConnectionManager. The main thing is I now understand how to reuse the same connection to the server.

See my previous message

> The only other thing I am not clear is if the 'ADODB.Command' object should also be references to a "global" property of application object or ConnectionManager object and should be created at the top of the application too. If you have any input on that, I would appreciate it.

I'm not sure what you're using it for in CA but I don't see why it should be global.

> Also, since every CA uses .DataSource = CREATEOBJECT('ADODB.RecordSet') do you create this object ('ADODB.RecordSet') also one and reference in the application object?

No. This object belongs to a particular CA.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform