Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convert a cursor from temporary to permanent
Message
From
14/02/2002 12:05:55
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
14/02/2002 11:50:41
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00619899
Message ID:
00620125
Views:
31
>>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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform