- 17.9K All Categories
- 3.3K Industry Applications
- 3.2K Intelligent Advisor
- 59 Insurance
- 534.1K On-Premises Infrastructure
- 137.6K Analytics Software
- 38.5K Application Development Software
- 5.3K Cloud Platform
- 109.1K Database Software
- 17.5K Enterprise Manager
- 8.8K Hardware
- 70.8K Infrastructure Software
- 105.1K Integration
- 41.5K Security Software
Get Parameter value in FDM report event script
I'm using FDM 22.214.171.124 and I want to make the report behave differently depending on the parameter chosen.
The parameter's name is "publish", so I would like to write some code like
if rpt.parameters("publish").value = 1 then
rpt.Sections("ReportGroup").Controls("Label").multiline = false
But can't find correct syntax for rpt.parameters("publish").value.
And the second, connected question:
Before starting the report users choose the report format - pdf, xls and so on.
Is the any way to get programmatically the users choise
a) in the report SQL
b) in the report event script, for example OnFormat?
Would be really appreciate for assistance in my questions.