Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FIELD( ) Function - NOT!
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00316885
Message ID:
00316902
Views:
16
>Is there a command the returns the opposite result of FIELD() Function? Because FIELD() returns the name of a field, referenced by number, in a table.
>
>I am looking for a function that returns the number of a field, referenced by name, in a table. Any such thing?

How about using AFIELDS() to return the field names and other information into an array, then using ASCAN() to retrieve the field number?
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform