Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

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

Anonymous
Not applicable
Author

It works!!

Thx u so much!!