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.comNo trees were destroyed in sending this message. However, a large number of electrons were diverted from their ordinary activities and terribly inconvenienced.