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
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
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