Can you post LIST STRUCTURE output and the name of the field you're looking for?
>Yes
>
>>Is it a free table?
>>
>>>Well, actually, the code doesn't work for me. it works great for fields 2 and 3 but for field physically in number 5 it gives me 3.
>>>
>>>It's weird. I put a combobox populated with field names and the field is actually the third, but if you do a brow or a modi structure it's in the 5th position.....
>>>
>>>
>>>Both methods, yours and mine, gives the correct result from ascan.....the problem is that the physical fields aren't in ascan order....
--sb--