Hi Erik,
I am having problem with this SQL task and getting it to work if empty.
If I use a dummy sql command i,e select 'abc' and use that for the checking in conditions, i.e. when output is 'abc', then I can get conditions to work.
If I use real sql, i.e. select * from table name where name like 'aaaaaa%' which will return no records, I can't get the conditions to fire correctly. I always seem to get the email.
The user variable is set as string with nothing entered in the box. The condition box contains {USERVAR(EmptyString)}
Thanks in advance for any help you can provide.
Graham