Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
SNR1
Creator
Creator

Need help on Comment and Uncomment

Hi All,

Is there any process to access commented fields in the script automatically without Un-commentating the fileds?

please help me about this

Thanks In Advance

Nikhil S

7 Replies
olivierrobin
Specialist III
Specialist III

hello

what do you want to do ?

finding text ? so you can use edit / find

view content of fiels in comment ? use table viewer of a tool like q viewer of q eye

SNR1
Creator
Creator
Author

Hi Robin,

i got it what you are saying
but looking a way or process or step

so that we can avoid to use of edit / find view content of files in comment or  use of table viewer of a tool like q viewer of q eye.

if i have thousands of code and i don't what are the fields are commented earlier but now we need to use commented fields and i don't want search for those commented fields and uncomment those once check

i want to  know is there any process to call those fields at point where i'm

could you please suggest me regarding to this

Thanks

Nikhil S

shiveshsingh
Master
Master

AFAIK, commented fields cannot be triggered without un-commenting.

crusader_
Partner - Specialist
Partner - Specialist

Hi,

Qlik Script inside comments is just a free plain English/WhateverOtherLanguage text for engine, therefore it doesn't recognize fields, keywords or statements.

These is no any way to access something inside comment through Qlik commands.

The only thing you can do - export script to some good text editor and figure out search/replace patterns (depending how exactly your script is commented // or /* */ blocks)

Good luck.

//Andrei

SNR1
Creator
Creator
Author

Thanks Andrei f

SNR1
Creator
Creator
Author

Thanks Singh

shiveshsingh
Master
Master

You're welcome