Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

What is use of comment table and comment field statements?

Hi,

Please tell me what is use of comment table and comment field statements.

I read the qlikview reference manual for this,but not getting exactly what the concept is.

8 Replies
qlikpahadi07
Specialist
Specialist

Hi,

there is no such statement actually it's a code which you have commented which will not execute.

so, in qlikview reference manual if Whole Table is commented then it might be written as "Commented Table" so that you can address clearly and same with Commented Field.

Might be helpful

stevedark
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi Angha,

In recent versions of QlikView there are many points in which you can store meta data about your document.  In the UI you can do this frequently (eg. in the Properties for a chart you can do it for Dimensions and Expressions).  For tables and fields that are created at load time you need to add these comments in script.  Hence the COMMENT statement.

You can create applications without providing any meta data - and in most documents I've seen this is the case.

The COMMENT statement is not to be confused with commenting your code, but starting a line with // or encapsulating code in /*  and  */ .  This is an unrelated use of the word Comment.

Hope that helps,

Steve

Colin-Albert

This item has more info on QlikView metadata including comment tags.

Metadata

luciancotea
Specialist
Specialist

Field comments shows in table/pivot charts when you hover the mouse over the field title

Field comment.jpg

jolivares
Specialist
Specialist

Hi Lucian, can I recover the comment that is put inside the script via "comment" command, in order to use it in the application into a list box or whatever?

Did you know if it is possible?

luciancotea
Specialist
Specialist

No, it's metadata.

But I don't see why don't you just load the comments as data if you want to show them in a listbox.

Anonymous
Not applicable
Author

when the comment the particular field that not use in the qlikview

subhash_gherade
Contributor III
Contributor III

Please find the following link hope this will help.

Comments, Tags, and Documentation