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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

FieldName Function is not working

Set vListOfTables = ;

   For vTableNo = 0 to NoOfTables() // iterate throw tables

      Let vTableName = TableName($(vTableNo)) ; //get the name of the table.

      let VNo.ofFields = NoOfFields(vTableName);//get the number of fields.

      for i=0 to $(VNo.ofFields)-1                    //iterate throw fields.

          let VFieldName=FieldName(i,vTableName);  // get the name of the field. (Here i got NULL value)

Can any one help me please.

shivanandk‌

jvs‌

11 Replies
OmarBenSalem
Partner - Champion II
Partner - Champion II

Happy to know.

If your question has been solved, please close the thread by marking the correct answer as correct.

Have a nice day

Anonymous
Not applicable
Author

Actually i come to know the solution before seeing you comment

but you are right it is the right solution.

Thank you very much.