Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

System Fucntion - Input

Hi,

I have taken the following piece of code from the reference manual:

Load

Input('Enter value', 'Input box') as v,

Recno () as r

autogenerate 3;

While executing the above function, two times the input box opens and accepts the value. But the value of  r is (1,2,3) and the value of v is (1,2). My expectation is, the value  of v should also be (1,2,3) because in the autogenerate, we have the value of 3. Why I am getting only (1,2) for v instead of (1,2,3)?

Thanks

2 Replies
trdandamudi
Master II
Master II

Use RowNo() instead of Recno() like below:

Load

Input('Enter value', 'Input box') as v,

Rowno () as r

autogenerate 3;

Anonymous
Not applicable
Author

Hi Thirumala,

The issue is not with Recno or Rowno. The issue is why the input box opens only two times eventhough the autogenerate occurs 3 times.