on 07-08-2010 9:06 PM
Hello all,
I have a flag that has values: Yes, No, Blank....In my report, I'm only interested in showing the values with blank, however when I go to the selection criteria and try to select: Equal to, I don't get the blank value, all there is is Yes and No...
Is there a way to tell Crystal how to filter for Blanks only?
Thanks so much for your help....
I hope it's worthy to mention that this database is a DB2....
Thanks for you help
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you ...that solved it....thanks so much
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
if IsNull does not work, try
{field}=""
in a my SQL database, text/date fields seem to prefer this test in order to find the empty fields
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the reply....
These records that I'm trying to display are not Null, they're Blanks reason I'm saying this is because when I used the formula you specified above isNull({ZZDEPPROOF.DEP_PROOF}), the value returned was FALSE.
I still can't display blank values only...
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Well, that depends, are they blanks, or nulls
You can create a formula to test for nulls or blanks either one.
IsNull({orders.ORDER AMOUNT})
will produce true / false
Not IsNull({orders.ORDER AMOUNT})
When used as a record selection formula, includes in the report only those records that have something other than a null value in the {orders.ORDER AMOUNT} field.
Comments
Some databases support null data values and others do not. This function will not work if the active database(s) do not support null values. If the database(s) do support null values, the function can be used to reference the null values that get created as the result of a failed lookup while joining.
Note: Zero and blank (empty or " ") are not null values.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.