Hello,
I am new to using Crystal Reports and quickly learned that the syntax is different from SQL Server. I was wondering if there is something similar to a where or having clause.
I created a formula:
IF isnull({v_cust_name.name_first})then {v_cust_name.name_last} else {v_cust_name.name_first} + ' ' + {v_cust_name.name_last}
However, I wanted to add in a WHERE clause. For example:
IF isnull({v_cust_name.name_first})then {v_cust_name.name_last} [highlight #EF2929]WHERE {v_cust_name.primary_code} = n[/highlight] else {v_cust_name.name_first} + ' ' + {v_cust_name.name_last}
Does this make sense?
Hope you can help!
I am new to using Crystal Reports and quickly learned that the syntax is different from SQL Server. I was wondering if there is something similar to a where or having clause.
I created a formula:
IF isnull({v_cust_name.name_first})then {v_cust_name.name_last} else {v_cust_name.name_first} + ' ' + {v_cust_name.name_last}
However, I wanted to add in a WHERE clause. For example:
IF isnull({v_cust_name.name_first})then {v_cust_name.name_last} [highlight #EF2929]WHERE {v_cust_name.primary_code} = n[/highlight] else {v_cust_name.name_first} + ' ' + {v_cust_name.name_last}
Does this make sense?
Hope you can help!