Soykan-
>i've html class but i was getting error when fields more than eg. 10 etc. with 3-4 fields there is no problem after 2-3 warning executes events why
>
>by this line
>
> lcfields = &FieldName
>
>error code : 36-commands contains unrecognised phrase/keyword
Just a comment on the macro expansion, if you check the value of FieldName when the error occurs, I'll bet you have an expression that, when expanded, isn't legal. For example, if it has a hyphen in it, or a space.