>>>select * from AP into cursor Tmp1
>>>
>>>How can I close cursor TMP1 after the operations ?
>>
>>Add nofilter clause to make sure to create a real cursor. Read
http://www.berezniker.com/display/VFP/Queries+and+Filtered+Cursors for details.
>>
>>
use in select('tmp1')
&& to close the cursor.
>
>AFAIK, it doesn't matter if it's filtered or not, [Use In tmp1] will do it anyway.
Yes, looks like it doesn't.
BTW, just curious why in the referenced example above the numerical variable is called lcPK? Would lc imply character?
If it's not broken, fix it until it is.
My Blog