>>dear all
>>I want to make an empty cursor based on one of my free table structure.
>>What is the best and fastest way?
>>Thanks
>
>
>select * from MyFreeTable;
> where .F.;
> into cursor MyCursor
>
Update: This makes the cursor read-only. I am not sure if the READWRITE clause was introduced in VFP 7, or later. If it isn't available, the afields() solution is better.
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)