Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting data from another datasession
Message
From
16/10/2001 11:34:41
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Getting data from another datasession
Miscellaneous
Thread ID:
00569060
Message ID:
00569060
Views:
58
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?
Next
Reply
Map
View

Click here to load this message in the networking platform