If !TYPE("loWord") = 'O' or ISNULL(loWord)) THENand one final wild thought. It creates the word object as it should, everything is fine but that is loWord variable name that is the problem (having a field name in current wrokarea with same name - m.loWord would do then).