Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Structure Info. of multiple files in one array
Message
De
15/07/1997 15:51:58
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
14/07/1997 01:11:44
Vinod Parwani
United Creations L.L.C.
Ad-Dulayl, Jordanie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00039733
Message ID:
00040088
Vues:
30
> >> This, I am doing because I want to get lengths of fields from diff. > >files, > >> If it will be in one array, then I can issue 1 ascan command and get > the > > Thanks for the Idea.. But don't you think its a very long method to do such > a simple thing. Anyother suggestions ?? n=aused(aUse) Create cursor FStruct (field_name c(10), Field_type c(1), field_len i, field_dec i) for j=1 to n sele (ause(j) =afields(astru) sele fstruct appe from array astru endf now you have the structure of all of your tables in this array. You may need some few lines more to add the aliases into this cursor, if you want it. Then you can even copy this cursor into your array, but I think a Locate for "N"=trim(file_name) will surely find it, while Ascan(alArray, "N") will stop at the first numeric field's _type_.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform