Use PLSQL from Fast Report

edited 10:54AM in FastReport .NET
Hi,

I'm using PostgreSQL and Fast Report.net, I have one Function in the Databse that I need to use it from the report, but I can't call it from Fast Report!!

Is there is anyway I can call the function:

Example: select * from Functionname();

Thanks,

Comments

  • edited 10:54AM
    Hello,

    To call a function, use "exec" statement instead of "select":

    exec Functionname

    not sure about Postgres, but it works in MS SQL.

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.