Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting data from another datasession
Message
De
16/10/2001 11:47:45
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
 
 
À
16/10/2001 11:34:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00569060
Message ID:
00569073
Vues:
31
Hi Matt instead of a cursor use a table once you get the the oracle data copy it to a tempory table on disk and start using that table on the close of the application delete the tempory table.


>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?
Alexandre Palma
Senior Application Architect
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform