AFIELDS() is best bet, but you could use FSIZE(). Just read the requirements for its use in VFP Help file.
>Hi
>
>Please, I'd like to get the field's lenght.. Something as:
>
>
>a="mytable.nField1"
>? len(eval(a))
>
>
>Do I need do run afields() and search "a" on my array.. Or there is any better shortcut ?
>
>Ps: for free table, no DBGETs !
>
>TIA
>
>Claudio
Mark McCasland
Midlothian, TX USA