Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi there,
I have had a quick search and cant find a similar question (admitedly I might not be searching for the right thing)
Does anyone know of a way I can pass the name of the QVW file into a variable so that I can use it in the code editor.
My idea is to then use it in the WHERE clause of a section access load statement in order to give us the ability to restrict the results returned from a view to only those with a matchign report name, allowing us to grant access to individual reports without hundreds of text files or views.
If anyone knows of a way to pass this variable in, or knows of a better way to meet my objective, any help is greaty appreciated.
Thank you,
Chris
Use the DocumentName() function:
LET vDocName = DocumentName();
Hope this helps,
Jason
Use the DocumentName() function:
LET vDocName = DocumentName();
Hope this helps,
Jason
ok, so I was pretty stupid to ask... that one was actually quite obvious!
Thanks for your help! (again!)
Not stupid at all.
Please mark the correct answer to close the thread.
Cheers,
Jason