Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Use again from private datasession to default
Message
De
10/01/2002 12:00:47
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
09/01/2002 00:58:37
Vladimir Zhuravlev
Institute of the Physics of Earth,Russia
Moscow Region, Russie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00601842
Message ID:
00603040
Vues:
49
>Dragan
>Sure I tryed select, like you wrote, it asks for table and show open/select table window. Stupid, because this also work for natural table from first form dataenvironment.
>Yesterday night I sat few hours again and made hole on the top of my heard
>Really the question is very simple. Is it any easy and fast way
>to make cursors exchange between forms with diffrent datasessions, excluding
>copy to local tables and open them again( losing long fields names and other problems) or creation new cursor at private session and getting all records from the first forms in loop for all records ( carry fileds names, creating cursor+copy) and this is required for cursors for local or server sql selects
>really this problem does not exist for natural tables, which can be opened fast in the second form
>Any way, thanks for advice, I shall kill this snake or it kill me

Are you sure that the original cursor is not filtered? This asking for a table sounds like the file doesn't exist, i.e. you're trying to select from the underlying file of a cursor which is in memory only. Since datasessions hide the buffers from each other, I think it needs a physical file to be able to communicate across datasessions. So the wall you're hitting is actually the same wall that exists between the datasessions. This physical file would be the cursor's .tmp file (which is actually a table) or a temp .dbf - and the good thing about the first one is the automatic cleanup, and probably nothing else.

If this necessity to have physically existing files is too slow for you, and the sizes of these files are not too big, you may consider employing a ram disk. I know these are not popular anymore, but then why not?

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform