Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Two CursorAdapters don't have two cursors opened
Message
 
À
13/03/2007 11:06:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01203001
Message ID:
01203027
Vues:
16
If you do not detach the cursor from the object, it's closed when the CA object goes out of scope. Anyway, it'd be helpful to see your code.

Enmanuel

>In the Load() of a form I create programatically 2 cursoradapters that should leave two cursors in the form's datasession, cursor1 and cursor2. My problemn is that I'm seeing only ONE cursor. The cursor I'm seeing is the one I created in second term, cursor2. I think that this is similar to opening 2 tables
>
>USE MyTable1
>USE MyTable2
>
>if I try
>
>SELECT MyTable1
>
>I'll found that MyTable1 is gone, finished, etc :-))
>
>Sorry for being so obvious, but I couldn't find another way of saying that may be this is the same case.
>
>Anyway, I still want to see my two cursors, cursor1 and cursor2. Any suggestion?, anything that migth help?, anything at all?
>Thanks
>Hernan
I'm a mixture of Albert Einstein and Arnold Schwarzenegger. The only trouble is that I got Einstein's body and Schwarzenegger's brain
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform