$ 0 0 Try this: If not IsNull({database field}) and UpperCase({database field}) = 'Y' then 'YES'else 'NO' -Dell