Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Convert a cursor from temporary to permanent
Message
De
14/02/2002 12:05:55
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
14/02/2002 11:50:41
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00619899
Message ID:
00620125
Vues:
30
>>SELECT ... NOFILTER should force a write to disk.
>
>Hi Hilmar,
>
>My cursor is created with CREATE CURSOR ?

I thought it was a cursor created with SELECT - SQL.

>Do you mean :
>
>CREATE CURSOR xcy (lf i)
>SELECT * from xcy INTO CURSOR xyd nofi
>
If this works, you could use it as a workaround, of course.

>?
>But following
>
>?FILE(DBC())
>SELECT xcy
>?FILE(DBC())
>
>will result in .f. anyway.

Another alternative is to use CREATE TABLE instead of CREATE CURSOR. Use a temporary filename (sys(2015)), and delete it yourself when required.

Grüsse, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform