Got it I just forgot placing quotes on the (emailaddr1) on the cfif statement
and now it works...
thanks anyway
HI everybody
I have a table with two email addresses for every person there are
cases though that emailaddr1 is empty and emailaddr2 has a value. I
need to output the
HI everybody
I have a table with two email addresses for every person there are
cases though that emailaddr1 is empty and emailaddr2 has a value. I
need to output the addresses that if emailaddr1 is empty it would be
substituted by emailaddr2. I tried using a cfif inside the query
Alex,
You can't use a CF condition within your SQL that you want to evaluate each
record in the query. For that, you'd need to use an SQL condition. You
could use CF conditions inside your cfquery only to evaluate the 'text' of
the query (like to decide WHICH SQL statement to use for example
THANKS DAVE THAT SOLVED IT!!!
Alex,
You can't use a CF condition within your SQL that you want to evaluate each
record in the query. For that, you'd need to use an SQL condition. You
could use CF conditions inside your cfquery only to evaluate the 'text' of
the query (like to decide WHICH
4 matches
Mail list logo