Qlik Community

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
QlikWorld 2022, LIVE in Denver CO., May 16-19, 2022. REGISTER NOW TO RECEIVE EARLY BIRD PRICING
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.