Hello, i have a report that stops working if i place a selection criteria (in the record selector formula field).
This is the formula that i use in the record selection formula:
if {?initiative} = "*" then
(
{V_PROJ_WITH_AMOUNTS_RESC.FILE_NUMBER} in {?begFileNum} to {?endFileNum} and
{V_PROJ_WITH_AMOUNTS_RESC.CLAIM_DATE} >= {?date_resc}
)
else if {?initiative} <> "*" then
(
{V_PROJ_WITH_AMOUNTS_RESC.FILE_NUMBER} in {?begFileNum} to {?endFileNum} and
{V_PROJ_WITH_AMOUNTS_RESC.CLAIM_DATE} >= {?date_resc} and
{V_PROJ_WITH_AMOUNTS_RESC.INITIATIVE_ID} = {?initiative_id}
)
The report works if the following line is taken out:
{V_PROJ_WITH_AMOUNTS_RESC.INITIATIVE_ID} = {?initiative_id}
I get the following error with the above line in the report:
"CPEAUT Error Occured on Server. 20609 : Creating data source failed."
I don't have a clue why it's not working... Any help is appreciated.
Thanks,
Jason Grandmaison
This is the formula that i use in the record selection formula:
if {?initiative} = "*" then
(
{V_PROJ_WITH_AMOUNTS_RESC.FILE_NUMBER} in {?begFileNum} to {?endFileNum} and
{V_PROJ_WITH_AMOUNTS_RESC.CLAIM_DATE} >= {?date_resc}
)
else if {?initiative} <> "*" then
(
{V_PROJ_WITH_AMOUNTS_RESC.FILE_NUMBER} in {?begFileNum} to {?endFileNum} and
{V_PROJ_WITH_AMOUNTS_RESC.CLAIM_DATE} >= {?date_resc} and
{V_PROJ_WITH_AMOUNTS_RESC.INITIATIVE_ID} = {?initiative_id}
)
The report works if the following line is taken out:
{V_PROJ_WITH_AMOUNTS_RESC.INITIATIVE_ID} = {?initiative_id}
I get the following error with the above line in the report:
"CPEAUT Error Occured on Server. 20609 : Creating data source failed."
I don't have a clue why it's not working... Any help is appreciated.
Thanks,
Jason Grandmaison