Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have several users logging in through NTFS authorization.
Suppose they are Division Manager, and the requirement is that their responsible Division pre-selected once QV page open. (No reduction, they can still see everything once selection released).
How do I write a macro to distinguish the osuser name and preselect divisions for them, if I want to use the same application instead of generating several versions?
Thanks!
Maybe this can help you? In this example i did not use a variable for the osuser.
You can use a variable which is filled with osuser() function. On Document open trigger you can select a value, based on the variable to the field division!
Hi Jochem,
Thanks for reply, but I am not sure I understand what you meant.
I understand osuser() function but I don't know how to utilize that in your example.
Say the username is qlikview and he is assigned to Division B, how does that work in your method?
Thanks in advance!
Maybe this can help you? In this example i did not use a variable for the osuser.
Thanks Jochem, this is working!