Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best and fastest way for making a cursor
Message
De
21/06/2007 10:26:26
 
 
À
21/06/2007 09:38:01
Reza Meamar
Homa Programming Group
Shiraz, Iran
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP1
Divers
Thread ID:
01234669
Message ID:
01234699
Vues:
13
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform