Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all
I have a script in the Edit Module as such:
public Function CurrentUser()
Set objNetwork = CreateObject("Wscript.Network")
CurrentUser = objNetwork.UserName
msgbox currentuser
end Function
It works fine when opening the .qvw but when opening from Access Point the following error is returned:
(The "Schedules" in the image above is a name of a sub which calls the CurrentUser() function.)
Does anyone know how to correct or is there another way of getting the name of the current user?
Any insight will help.
Thanks
Josh
Macro's often don't work on the server. Try using the OSUser() or QVUser() qlikview function.