Skip to main content

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
QlikWorld 2023, a live, in-person thrill ride. Save $300 before February 6: REGISTER NOW!
cancel
Showing results for 
Search instead for 
Did you mean: 
vinnygarcia
Contributor
Contributor

Getting currently field value in script

Hi everyone!

I'm trying to do a control access to QV. I used a section access like:

ACCESS     USERID     PASSWORD

ADMIN        xxx             xxx

USER          xxx             xxx

My idea is,before load the FACTS, try to put an IF sentence like: IF ACCESS='ADMIN' that load a part of the script ELSE the other part.

Any idea?

Regards.

1 Solution

Accepted Solutions
swuehl
MVP
MVP

hm, section access is applied when opening the QVW, not when reloading.

You can try to check on user name when running the script using QVUser() or OSUser(), but not sure if this is what you want.

View solution in original post

3 Replies
swuehl
MVP
MVP

hm, section access is applied when opening the QVW, not when reloading.

You can try to check on user name when running the script using QVUser() or OSUser(), but not sure if this is what you want.

shiveshsingh
Master
Master

I think, you cannot add ACCESS='ADMIN' part before section access to restrict loading,

try something different way

vinnygarcia
Contributor
Contributor
Author

It works!!

Thx u so much!!