Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can i add all the records
Message
De
27/07/2006 09:16:38
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
27/07/2006 09:09:36
Suhas Hegde
Dental Surgeon
Sirsi, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 6 SP5
Divers
Thread ID:
01140643
Message ID:
01140647
Vues:
16
>hi all,
>
>here is my problem
>
>
>dimension garray[4]
>for m.xi = 1 to 4
>garray[m.xi] = 'A'
>next
>
>create cursor foo (f1 c(1))
>
>append from array garray
>
>
>
>this adds only 1 row
>
>how can i add all the contents to the cursor ??
>
>suhashegde

I think you need a two-dimensional array. One dimension will be the records, the second dimension will be the fields in each record.
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)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform