Pass Params from Delphi to FR4 internal query and optionally show dialog box

Using FR4 and D2009 (I'm brand new to FR... came from Ace Reporter world)

I have a report that has an internal ADOQuery where it has 3 parameters.

This report will be called 99% of the time from Delphi and we need to pass the parameters to the report.

1) So first... how would I best do this? I can't find any demos that clearly demonstrate this or hint towards this.

That 1% of the time where it is NOT called from Delphi I would like to "optionally" show a dialog box where I have to fill in the parameters. So essentially when the parameters are passed in and set from Delphi I do NOT want the dialog box to show in the report and when the parameters are NOT passed in then I WANT the dialog box to prompt in the report.

2) So how would I achieve this?

Thanks in advance for your assistance.

Greg

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.