hey Paul,
if you phrase your record selection similar to
{AEMPLOCM.LMLOC2} <> "" and
{AEMPLOCM.LMLOC2}) like (IF {?Level} = "ALL" then "*" else {?Level}) and
...
then it should be fine. the big benefit to doing it this way, i.e. {field} like (value) is that the syntax will also be passed to the database server for processing.
cheers,
jamie