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: 
MadiF
Contributor III
Contributor III

Peek() Syntax

Wondering if there's a difference in what's returned when using (or not using) single quotes with the 'peek' function and if so, what that difference is. Ex: Peek(datefield) vs Peek('datefield') ?

1 Solution

Accepted Solutions
rwunderlich
MVP
MVP

In my opinion, you should always use quotes.  The fact that it works without quotes (in a Load statement only) is only a bit of an accident. 

-Rob

View solution in original post

3 Replies
Chanty4u
MVP
MVP

Have a look here. one small example is explained . might it relates you.

https://community.qlik.com/t5/QlikView-App-Dev/Peek-function-to-pick-a-date/m-p/292170

rwunderlich
MVP
MVP

In my opinion, you should always use quotes.  The fact that it works without quotes (in a Load statement only) is only a bit of an accident. 

-Rob

MadiF
Contributor III
Contributor III
Author

Good to know. Thanks