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 10:26:26
 
 
To
21/06/2007 09:38:01
Reza Meamar
Homa Programming Group
Shiraz, Iran
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:
01234699
Views:
14
>dear all
>I want to make an empty cursor based on one of my free table structure.

In addition to Sylvain suggestion
AFIELDS(laFields, "MyTable")
CREATE CURSOR MyCursor FROM ARRAY laFields
Additional few lines my come usefull to add extra fields
and index cursor;
alter table alias() add column pick  L
alter table alias() add column rec_no N(6)
index on myCursor.keyfield  tag mykey
Beware of long field names when applied on dbc tables.

HTH
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform