Forum Discussion

ipon70's avatar
ipon70
Helper I
2 years ago
Solved

Parameter Concatenation

I am looking to create 3 parameters that will be combined to create a 4th parameter.

 

Here is the idea

Parameter one they would enter their state like (OR, CA, FL)

Parameter two they would enter their Private Code (6879,0987)

Parameter three they would enter their file name (6879.xlsm, 0987.xlsm)

 

Parameter four would change this into a path like \\network\outside\locational\"Parameter One"&OT\"Parameter two"\Parameter three

 

So you would end up with something like this \\network\outside\locational\CAOT\6879\6879.xlsm

 

This would then be used as the parameter file to update the queries location for that report.

 

I hope that makes sense.

 

thanks

 

  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi ipon70 ,

     

    Due to the design, the parameter 4 you mentioned cannot be implemented dynamically. Here are the alternatives:

    (1) Create three parameters.

    (2) Create a new blank query.

     

    = "\\network\outside\locational\" & Parameter1 & "OT\" & Parameter2 & "\" & Parameter3

     

    Click Source in the step bar to change the original source to query.

    (3)Or you can click the gear next to the source in the step bar.

     

    Best Regards,

    Neeko Tang

    If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi ipon70 ,

     

    Due to the design, the parameter 4 you mentioned cannot be implemented dynamically. Here are the alternatives:

    (1) Create three parameters.

    (2) Create a new blank query.

     

    = "\\network\outside\locational\" & Parameter1 & "OT\" & Parameter2 & "\" & Parameter3

     

    Click Source in the step bar to change the original source to query.

    (3)Or you can click the gear next to the source in the step bar.

     

    Best Regards,

    Neeko Tang

    If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly.