Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Re: Finding the numeric position of a field
Message
From
18/04/1998 17:10:27
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Re: Finding the numeric position of a field
Miscellaneous
Thread ID:
00093195
Message ID:
00093195
Views:
52
I need to find the position of a field in a table and return the position as a number -- 1 = the first field, 2 = the second field, and so on. VFP has no FIELDNO() function, so I am using a FOR/ENDFOR loop to step through the fields in the table until myFieldName = FIELD(). Since I have to do this for hundreds of controls, it is VERY SLOW. Any thoughts on a more elegant means of retrieving field numbers?

Thanks in advance.

JME
Jim Edgar
Jurix Data Corporation
jmedgar@yahoo.com

No trees were destroyed in sending this message. However, a large number of electrons were diverted from their ordinary activities and terribly inconvenienced.
Next
Reply
Map
View

Click here to load this message in the networking platform