Glenn,
Where is the mismatch? I see 3 ( and 3 ).
>Found a bug today with parenthesis match.
>Bug allows unmatched parenthsis:
>
>with this
> thisform.cRepName = JUSTSTEM(Substr(.PrintCmd, Rat(' ', .PrintCmd) + 1))
>endwith
>
>
>No bug
>with this
> thisform.cRepName = JUSTSTEM(Substr(this.PrintCmd, Rat(' ', this.PrintCmd) + 1))
>endwith
>
>Glenn