Paul: > if word 7 of X = the layer of fld "Address" then Sean: > If word 7 of X = the number of fld “Address” then I prefer this: if short name of field N is "Address" then Best wishes, Curry Kenworthy Custom Software Development "Better Methods, Better Results" LiveCode Training and Consulting http://livecodeconsulting.com/