Nope. You do not need an If then statement just an OR.
With the OR stement it will stop as soon as it finds a condition that is TRUE.
Since you are using a Boolean type and you want all records if the paramter is True the first part of your seelct statement is
{?My parameter} or
If TRUE was selected in the parameter value then this condition = TRUE and the select formula stops there without doing any filtering (if you have other conditions like date ranges then you need to alter to account for those with an AND statement). This isa lso more efficient because it does not need to read the DB at all.
From there the only oher option for the parameter to be is FALSE. Therefore if it is npot TRUE then your OR is what you want the select statement to be as if they picked FALSE.
Create one statement with parenthesis around the entire logic if there is more to it than the user id not being in a list.
( NOT({USERID} in ('yui002347',yui9089387',.....) and any other criteria here )
If it is only that they are not in the UserID list you do not have to use the extra parnethesis
Make sense?
Edited by DBlank - 04 Aug 2009 at 8:04am