Skip to main content

Is it possible to link a action to a specific option in a list? 

If Peeters is selected it needs to export to PDF
If Van Mook is selected it needs to export to Excel

 

When Peeters selected
When Van mook selected

 

Hi,

That is possible with the use of a Report parameter with report property Action in combination with a Default that fills this parameters based on the selected user's preferences. These preferences do already need to be presend the database.

Example

 


@Mark Jongeling How did you link the value change to the action? If you enter a value it changes the action. 


That is done by using a Default procedure on the Report. The Action parameter and the 'Vervoerder’ are available in the Default (if not, check the Performance tab of Report parameters).

You can then write a Select query to update the value of @action to the preferred Action of the @vervoerder 


Reply