>>W/o NOFILTER foxpro wasn't creating cursor on the disk. Instead it opened source table again with alias temp an issued a series command to get requred result.
>>
>>USE Point Again ALIAS Temp
>>SET FILTER TO
>>CREATION>=ldDate AND CREATION <=ldDate2
>>SET ORDER TO CREATION DESCENDING
>>
>>?DBF("temp") would show the name of source table.
>>
>>Using NOFILTER forces foxpro to create cursor on the disk.
>
>Yes, I understand all that. What I don't understand is VFP chocking on the record pointer when I move into another function.
Michel,
Can you provide the actual code for Myfunction?
--sb--