>just about what I wanted to suggest, with a bit of difference:
>
>sele filename
>X = afields(flds)
>for i = 1 to X
> xxx="xxx_"+flds[i,1]
> m_dot="m."+flds[i,1]
> if type(xxx)#"U"
> store (xxx) to (m_dot)
> endif
>endfor
>
>This checks for unmapped fields and skips them, and, besides, reminds me
>of the joy I had when first I discovered that name expressions can be
>used to create variables :)
Lovely! - Just what I needed, Thanks to both Dragan and Doris
Thankyou - Chris Haynes