Report Query returning "No Data Found" with bind variables
759576Jun 7 2010 — edited Jun 7 2010I put a simple query into Report Query:
Select "bluefish". "name" as "name",
"bluefish"."primary_flag" as "primary_flag",
"bluefish"."status" as "status",
"bluefish"."ID" as "ID" from "bluefish" "bluefish" where "bluefish"."ID" = :P3_XPRINTID
When I test the query, data is returned; however, when I try to run the query using "Test Report" button, I get an error 01403 No Data Found. If I replace the bind variable with an explicit value, the report works.
Anyone have any ideas as to what is causing this problem? I am using the Generic Report Layout, with various output types. I AM editting the query and defining the bind variable before I test the report (otherwise, the query wouldn't run).
Charles