Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Is it possible to lock a QV with an expiry date i.e. user will not be able to open the document after a certain date? If possible, how can this be accomplished?
Regards
Hi, should be possible if you use Section Access and variables.
Let vExpiredate = 20151231;
Let vToday=today();
IF vToday <=vExpiredate then
Your script
ELSE
Section Access
USER NTNAME
ADMIN, ADMIN
ENDIF
Only admin can open document
Thank you Staffan, let me try it out and advise accordingly
Regards.
Staffan, you make reference to 'Your Script' in your recommendation, which script are you referring to?
The script in the application, the whole part of it. And after that add section access, dont forget to tick "Initial Data Raduction Based on Section Access" in opening tab, document properties.
Maybe you shold add section Access first
if vtoday >=vExpireddate THEN
Section Access part
ELSE
script
Do you have knowledge about Section Access, if not be careful.
Wouldn't this approach require a (daily) reload?
Christopher, how is the QVW supposed to be distributed and used?
Thank you Staffan, i have used Section Access in the document already
Thanks Swuehl
It is intended to be distributed as a desktop application and available on a year lease basis where if the lease is not renewed, user should not have access to the old data forcing them to renew the application after expiry date.