There's an ENDIF missing...
IF CONFIG2.N5 = 1
THISFORM.PRINT1
ELSE
IF CONFIG2.N5 = 2
THISFORM.PRINT2
ENDIF
ENDIF
>Since Dbase III I don't need to use IF as below
>I've been using do case and IF with different structures
>
>Now I had to use it and, for my surprise, it does not work in VFP
>
>(endif missing)
>
>IF CONFIG2.N5 = 1
> THISFORM.PRINT1
> ELSE
> IF CONFIG2.N5 = 2
> THISFORM.PRINT2
> ENDIF