Dataset as complex Procedure

edited 2:11PM in FastReport VCL 5
Hi,
I have a problem in retrieving the datafields for my report, I am using Delphi10.2 + NativeDB + SQL Anywhere + Fastreport 5:
AsaSession -> AsaDataset(containing a call to a complex procedure in DB) -> Datasource -> frxDBDataset -> frxReport.
The complexity in the called procedure is that it has several IF statements.
Problem: when I connect my Report to the frxDBDataset then I get no any data fields.

When I replace the SQL in the AsaDataset with a simple sql-query, then I get all those fields in my report normally.
Any help?

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.