>I have an array which contains the name of some fields in my table. From that array, I would like to extract the type of the field. Is there a way to do that from the array?
If its an array created with Afields() then the column 2 has the data type of the table column. Otherwise, you could use the TYPE() function (if the table is open.
? type(MyArray[1]) && returns evaluation of the data stored in the field name stored in the table
HTH.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao