Excel export path with parameter

Hi,

I have a parameter that is used to "select" the SQL db name I want to use, I would like to have the same name used to the Excel Export file name, but on a specific folder, not the project's folder.

For instance, {dbName} is set to "filename"
It opens the SQL dbname "filename".

I would like to parameter the location of the Excel export
Save the file for instance: C:\temp{filename}

Thanks.

Hi Yves,

In this case, use a calculated parameter to calculate the file path. Then use the parameter in action settings instead of a hardcoded file path. For instance:

Define a calculated parameter in the Parameter Editor:

Use the parameter in the action settings:

Thanks Dmitry, it worked perfectly.

Except I've used compinepath() !

combinepath("C:\temp" , {dbName} )

1 Like

Using combinepath() is even better! :slight_smile: