I have an Access database that has many queries driving a report. One query uses two tables. My job is to replace these two local tables with queries based on Oracle back end tables.
One of the back end "tables" is a stored procedure. I have a report that contains a subreport. When using the query that uses the query referencing the two table, the report works fine. When I use the query containing the SP, I get a message that tells me that I cannot use a Pass Through query or Non-Fixed_column Crosstab query as a record source for a subform or subreport. If I remove the SP from the query and replace the field that comes from the SP with a 0, the report/subreport combination works fine. If I put the SP back, even if I don't select any fields from it, I get the error message and the subreport section of the report remains blank. The following is the SQL for the SP (as seen by Access in the design mode):
select dl_id,
GetColtDetails.GetAdditionalBorrAllowed(dl_id) AdditionalBorrAllowed,
Getsecfacevalamt(dl_id) Secfacevalamt,
GetColtDetails.GetCurrColtAmtForDeal(dl_id) CurrColtAmt
from structured_facility
Is this some kind of crosstab query? Or is a query that references an SP considered to be a pass through query?
One of the back end "tables" is a stored procedure. I have a report that contains a subreport. When using the query that uses the query referencing the two table, the report works fine. When I use the query containing the SP, I get a message that tells me that I cannot use a Pass Through query or Non-Fixed_column Crosstab query as a record source for a subform or subreport. If I remove the SP from the query and replace the field that comes from the SP with a 0, the report/subreport combination works fine. If I put the SP back, even if I don't select any fields from it, I get the error message and the subreport section of the report remains blank. The following is the SQL for the SP (as seen by Access in the design mode):
select dl_id,
GetColtDetails.GetAdditionalBorrAllowed(dl_id) AdditionalBorrAllowed,
Getsecfacevalamt(dl_id) Secfacevalamt,
GetColtDetails.GetCurrColtAmtForDeal(dl_id) CurrColtAmt
from structured_facility
Is this some kind of crosstab query? Or is a query that references an SP considered to be a pass through query?