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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
ryuma_nakano
Partner - Contributor
Partner - Contributor

System Fields

Hi,

Is there a way to use system fields ($Table, $Field, $Fields ...) while script is still running???

Thanks for your help.

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

What do you want to use this for? There are Table functions ‒ QlikView such as

TableName()

NoOfTables()

NoOfFields()

FieldName()

View solution in original post

3 Replies
sunny_talwar
MVP
MVP

What do you want to use this for? There are Table functions ‒ QlikView such as

TableName()

NoOfTables()

NoOfFields()

FieldName()

ryuma_nakano
Partner - Contributor
Partner - Contributor
Author

Hi Sunny,

I need to know the way to loop through a couple of tables while running the script and which name's may change during the process, so I wanted to see if there was a chance to get them dinamically.

I used a for loop that worked perfectly:

for i = 0 to NoOfTables() - 1

LET vTableName =  TableName(i);

sunny_talwar
MVP
MVP

Awesome