I must be overlooking something obvious. But I'm new to Crystal and can't spot it. What I'm trying to do is us an iif() statement to generate a "zz" if a field is blank. But what I get is a blank result when the field is blank.
I've tried
iif( isnull({WILLIAMS.TO_ART}), "zz", {WILLIAMS.TO_ART})
iif({WILLIAMS.TO_ART} = "", "zz", {WILLIAMS.TO_ART})
iif({WILLIAMS.TO_ART} = " ", "zz", {WILLIAMS.TO_ART})
I've also tried changing these settings:
Convert database NULL values to default
Convert other NULL values to default
The database is a DBF created by Visual dBASE 5.7. I hooked to it using the xBase choice under Create New Connection.
I've tried
iif( isnull({WILLIAMS.TO_ART}), "zz", {WILLIAMS.TO_ART})
iif({WILLIAMS.TO_ART} = "", "zz", {WILLIAMS.TO_ART})
iif({WILLIAMS.TO_ART} = " ", "zz", {WILLIAMS.TO_ART})
I've also tried changing these settings:
Convert database NULL values to default
Convert other NULL values to default
The database is a DBF created by Visual dBASE 5.7. I hooked to it using the xBase choice under Create New Connection.