Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best and fastest way for making a cursor
Message
From
21/06/2007 09:46:07
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
21/06/2007 09:43:26
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP1
Miscellaneous
Thread ID:
01234669
Message ID:
01234680
Views:
10
>>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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform