I am not getting an error message on my formula, however the detail section I placed this on is not suppressing the details tab. I added this to my details A tab under the x-2 tab on the suppress tab. I'm not sure if I need to re-write this differently or whats broken.
Code:
{?SHOWDETAIL} = False
AND
IF {Data.Type} <> 1 THEN
TRUE
ELSE IF {Data.Diagnosis} = -1 AND ISNULL({@TicketNumber}) THEN
FALSE
ELSE IF {Data.Diagnosis} = -1 AND {@TicketNumber} = "" THEN
FALSE
ELSE IF {Data.Diagnosis} = -1 AND {@TicketNumber} = {Data.TicketNumber} THEN
TRUE
ELSE
FALSE