Refresh without re showing dialog

Hi,

I'm using a dialog in a report to get parameters for a query from my users, the report then appears in my application by way of a TfrxPreview. I would like to give my users the option to refresh using the existing parameters (just to pick up latest data without showing the dialog) or to show the dialog again (which frxReport.RefreshReport does fine). So my question is how can I suppress showing the dialog but remeber what was entered last time?

Many thanks

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 2:25PM
    try
    frxReport1.EngineOptions.DestroyForms:=False
  • edited 2:25PM
    gordk wrote: »
    try
    frxReport1.EngineOptions.DestroyForms:=False

    Yes that works, even better than I had imagined, I had thought I would have to have two refresh buttons one to re-prompt and one to just refresh without showing the dialog but this gives the user the option to see what they entered last time and change it if they wish. Yes there's an extra click but so what. Much appreciated Thank you.

    Steve

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.