LOCAL loFormObject AS Form WITH loFormObject . ENDWITHI don't use the AS clause in the code as it really doesn't enforce datatypes -- I would prefer that it did (strong data typing). So I have not made the effort to add this. I have thought about adding this but have not taken the time...