Hello:
I'm upgrading some older reports to Crystal 2008. I'm having trouble with my SQL expressions.
This expression:
NVL2((Select oc.Case_Status
From Offender_Cases oc
Where oc.OFFENDER_BOOK_ID = 'OFFENDER_BOOKINGS'.'OFFENDER_BOOK_ID'
And oc.Case_Status = 'ACTIVE'
And Rownum < 2), 'Yes', 'No')
Gives me an error ORA-00907: missing right parenthesis.
Obviously there is no missing parenthesis. The problem seems to be aroung where I am trying to reference a value from my main report ('OFFENDER_BOOKINGS'.'OFFENDER_BOOK_ID'). I've tried a bunch of different syntax ideas, but I'm not having any luck.
Anyone have any thoughts on this?
TIA!!
Holly
I'm upgrading some older reports to Crystal 2008. I'm having trouble with my SQL expressions.
This expression:
NVL2((Select oc.Case_Status
From Offender_Cases oc
Where oc.OFFENDER_BOOK_ID = 'OFFENDER_BOOKINGS'.'OFFENDER_BOOK_ID'
And oc.Case_Status = 'ACTIVE'
And Rownum < 2), 'Yes', 'No')
Gives me an error ORA-00907: missing right parenthesis.
Obviously there is no missing parenthesis. The problem seems to be aroung where I am trying to reference a value from my main report ('OFFENDER_BOOKINGS'.'OFFENDER_BOOK_ID'). I've tried a bunch of different syntax ideas, but I'm not having any luck.
Anyone have any thoughts on this?
TIA!!
Holly