Hi all, I am confused between isnull and = " ".
I created a report which have (Display like they are using the following format)
customer name
Address1
Address2
City, State Zip
Sometimes there will have no Address2, so in order to avoid to see a blank line, I created a function
@function_address2
if not isnull(address2) then
address2
else
City, State Zip
And under to suppress City, State Zip field if Address2 field is null, so i go to format -> Suppress and enter the following
isnull(Address)
The problem is it won't do what I need it to, like to display city, state, zip if address2 is null. Please let me know what I did wrong...........
I created a report which have (Display like they are using the following format)
customer name
Address1
Address2
City, State Zip
Sometimes there will have no Address2, so in order to avoid to see a blank line, I created a function
@function_address2
if not isnull(address2) then
address2
else
City, State Zip
And under to suppress City, State Zip field if Address2 field is null, so i go to format -> Suppress and enter the following
isnull(Address)
The problem is it won't do what I need it to, like to display city, state, zip if address2 is null. Please let me know what I did wrong...........