>>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)