Ho to keep dataset active after closing report

hakhak
edited 11:04AM in FastReport VCL 5
In Delphi, I have a FrxReport connected over FrxDBDataset to a query.
After executing the report, the query dataset is closed when I return to the main program.
My questions:
1. How to keep it open
2. Where could I find information about TFrxReport.buttons lik pbnoclose

Thanks,

Hak

Comments

  • gpigpi
    edited 11:04AM
    1. TfrxDBDataset.CloseDatasource = False
    2. property Buttons : TfrxPreviewButtons;
    Description
    A set of buttons, which will be available in the preview window. The available values of this property are the following:
    pbPrint - printing
    pbLoad - loading from a file
    pbSave - saving into a file
    pbExport - export
    pbZoom - zooming
    pbFind - search
    pbOutline - report outline enabling
    pbPageSetup - page properties
    pbTools - tools
    pbEdit - editor
    pbNavigator - navigation
    pbExportQuick - PDF button
    pbNoClose - close button disabling
    pbNoFullScreen - full screen disabling
    pbNoEmail - e-mail button disabling

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.