Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

Announcements
Save the Date: QlikWorld Online, June 24-25, 2020. Free global virtual event for data integration and data analytic gurus. Register Today
Highlighted
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.

Tags (2)
8 Replies
Highlighted
Valued Contributor

Re: What is use of comment table and comment field statements?

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

Highlighted
MVP & Luminary
MVP & Luminary

Re: What is use of comment table and comment field statements?

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

Highlighted

Re: What is use of comment table and comment field statements?

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

Metadata

Highlighted
Valued Contributor

Re: What is use of comment table and comment field statements?

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

Field comment.jpg

Highlighted
Valued Contributor

Re: What is use of comment table and comment field statements?

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?

Highlighted
Valued Contributor

Re: What is use of comment table and comment field statements?

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.

Highlighted
Contributor III

Re: What is use of comment table and comment field statements?

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

Highlighted
New Contributor III

Re: What is use of comment table and comment field statements?

Please find the following link hope this will help.

Comments, Tags, and Documentation