on 12-11-2014 12:38 PM
Dear SAP developer,
I am using Crystal Reports 2008 SP5. If I use the "Record Selection" expression/formula
isNull({SV_INQUIRY.PARENT_ID})
results are not displayed in CR even if the "Show SQL query" of CR
SELECT "SV_INQUIRY"."INQUIRY_ID", "SV_INQUIRY"."OWNER_REP", "SV_INQUIRY"."IT_SHORT_DESC", "SV_INQUIRY"."LOGGED_DT", "SV_INQUIRY"."TYPE", "SV_INQUIRY"."PARENT_ID"
FROM "AXENT"."SV_INQUIRY" "SV_INQUIRY"
WHERE "SV_INQUIRY"."PARENT_ID" IS NULL
is correct and there is a result set in the Oracle Developer.
Why does the IsNull() expression not work? Which workaround can I use? Which patch shall I use?
Thanks!
Hi,
Is it a string field?
Have you enabled "Convert Null values to default" under options?
Try this:
isNull({SV_INQUIRY.PARENT_ID}) or {SV_INQUIRY.PARENT_ID} = ''
Thanks,
Raghavendra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Raghavendra,
>Is it a string field?
No, it is a number field.
>Have you enabled "Convert Null values to default" under options?
Convert Database Null values to default -> yes, set as default
Convert Other Null values to default -> tried and did not work
>Try this:
>isNull({SV_INQUIRY.PARENT_ID}) or {SV_INQUIRY.PARENT_ID} = ''
Did not work because a number is required.
Thank you!
Hi Daniel,
What is the datasource for the report?
Are you reporting directly against a table or a Command SQL?
-Abhilash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.