General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Find field number given it's name
Hello. I was trying to locate the field number in a dbf, so I was using:
=AFIELDS(x)
iTexto= (ASCAN(x,"FIELD_NAME")-1)/18
but it seems that ascan returns the fields in a different order than they are in the DBF definition.
Does anyone know how to get the correct field number?
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only