Malformed SQL Pivot Query?

edited September 2017 in FastReport VCL 5
FR Gurus,

I have a rather complicated PIVOT Oracle query that I set dynamically to the SQL parameter of a FireDAC query dataset. In FR design mode, this query rendered as expected. But at run time it complains with the following error:

"[FireDAC][Phys][Ora] ORA-00923: FROM keyword not found where expected."

Some direction please as to what might be occurring? My guess is that FastReports is somehow modifying the query at runtime.

Regards,
Monte Carver

Delphi Seattle
FR 5.6.4

Comments

  • gpigpi
    edited 4:27PM
    wrote:
    My guess is that FastReports is somehow modifying the query at runtime
    Or your code modify query at runtime

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.