Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Field Length
Message
 
To
03/05/2001 12:13:29
David Brunelle
Université de Sherbrooke
Sherbrooke, Quebec, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00503103
Message ID:
00503104
Views:
34
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform