Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Field Length
Message
 
À
03/05/2001 12:13:29
David Brunelle
Université de Sherbrooke
Sherbrooke, Québec, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00503103
Message ID:
00503104
Vues:
35
This message has been marked as the solution to the initial question of the thread.
>One last question in the "how to" serie =)
>Is there a way to determine the length of a field ( I mean the max length, not the length of the actual data is they are different )
>I need this to know if I really need to change the length of a field or if it was already done (this is really time consuming because we got a LOT of records)
>
>For those who tried to reply to my other message, I found a good way which is
>
>IF INDBC("tablename","table")   && Assuming my databse is already opened
>


Take a look at AFIELDS(). It will create an array with all field information, including the size and type of the fields.

HTH,
- Erik Niese-Petersen

Crazy Dane in USA.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform