Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
cancel
Showing results for 
Search instead for 
Did you mean: 
jduenyas
Specialist
Specialist

Button to launch an application

Hello all developers

I am trying to create a button that will launch ACCESS,  start an APPLICATION and pass the /User USERNAME /pwd PASSWORD string to open the application.

In the Actions tab of the Button, under Launch, I can manually enter the required string and the application opens correctly but if I try to pass the string as a variable the launch fails.

Why does the variable not get resolved to the string in this tab?

The actual string in the the FileName box in the Action tab should be:

APPLICATIONName /user UserName /pwd UserPassword

I tried setting the variable vVariableString as

= 'APPLICATIONName /user ' & UserName & ' /pwd  ' & UserPassword

and as

'APPLICATIONName /user ' & UserName & ' /pwd  ' & UserPassword

=vVariableString nor =$(vVariableString) seemed to work

any ideas?

Thanks

4 Replies
isingh30
Specialist
Specialist

Did you check the parameters option under launch action in button?

Thanks.

jduenyas
Specialist
Specialist
Author

Capture.JPG

When entering the parameters in the box Parameters the loaded ACCESS dos not open the Named application.

When changing the data in the Filename to the variable it fails altogether.

isingh30
Specialist
Specialist

I am not sure but you can do this with macro.

Thanks.

jduenyas
Specialist
Specialist
Author

Thanks.

That's an idea. I will try that too.