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