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:
01471181
Vues:
58
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. 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. Also, since every CA uses .DataSource = CREATEOBJECT('ADODB.RecordSet') do you create this object ('ADODB.RecordSet') also one and reference in the application object?

>I use an application object to store global values.
>
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform