Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Is there any way in a QlkView script that you can prompt the user to enter a variable before the script with continue?
Nope, you need to use LET if you want to put a value from an input box in a variable:
LET vMyVar = Input('Enter value', 'Input box');
Try the system function Input():
Input(str cue [, str caption])
This function can be used in the script only and opens an input box that prompts the user for a value during the script execution. The parameters cue and caption are used as message and caption texts, respectively. The function returns the entered value.
The input box function returns NULL if the dialog is cancelled, closed or cannot be shown.
Example:
Load
Input('Enter value', 'Input box') as v,
Recno () as r
autogenerate 3;
Thanks much!
So is there no way to use this as part of a SET function?
Nope, you need to use LET if you want to put a value from an input box in a variable:
LET vMyVar = Input('Enter value', 'Input box');
So this doesn't seem to work
LET vMyVar = Input('Enter value', 'Input box');
Load
vMyVar,
Field1,
Field2
from T1;
Should I be able to now read the variable into the load file?
Forget it. Had a syntax error. This works great. Thanks so much.
Is there anyway to maket thant input box bigger?