$ 0 0 Hi Luca, Try: if ({?TipoCheck}=1 then if {OUSR.U_NAME} != 'USER C') ( {ODLN.DocStatus} = "O" and {DLN1.ItemCode} <> "TR" and {OUSR.U_NAME} = {?PrintByUserName@} ) ELSE( {ODLN.DocStatus} = "O" and {DLN1.ItemCode} <> "TR" ) Thanks,Gordon