Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting data from another datasession
Message
De
16/10/2001 11:34:41
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Getting data from another datasession
Divers
Thread ID:
00569060
Message ID:
00569060
Vues:
59
Hello all,

I have a datasession delima. I have a cursor that I create from SPT to an Oracle table that has a listing of about 27000 codes. It takes approximately 3 to 4 seconds on my slowest PC to select the records. I wish to use these codes in a lookup. Here is the delima.

My lookup form uses a Private Datasession. I do not want to have to query this table via SPT every time the form is loaded. I would prefer to query the Oracle table once and then query the VFP cursor when the form is loaded. Quering the VFP cursor takes less than a second.

Here is what I wish to do.

1. Select the Data from the oracle table via SPT once when the application starts and place the Cursor in the default datasession (1).

2. When the lookup form is displayed (private datasession) Select the data from the VFP Cursor in the Public datasession into a cursor in my lookup form's private datasession.

How can I do this?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform