Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
HI,
In my application I am using document chaining. 3 qvw files in my application.
1.Intro.qvw
2.Geo.qvw
3.Phy.qvw
In my Intro.qvw file contains two buttons.one for Geo & another for Phy view.
All the files are present in 'C:\ss' folder.
If geo file is not present in this folder I need to hide the geo button.
Is there any way to hide button if the corresponding file not exist ?
Thanks
Sibin
You can't use QVDCREATETIME since that checks for a QVD not a QVW. The only way I know of to do this (without macros), is to set a variable in the script using function filesize() which is a script-only function. Assuming your application hasn't been deleted since the last reload, that should work for you.
Regards,
Vlad
You can't use QVDCREATETIME since that checks for a QVD not a QVW. The only way I know of to do this (without macros), is to set a variable in the script using function filesize() which is a script-only function. Assuming your application hasn't been deleted since the last reload, that should work for you.
Regards,
Vlad
Thanks Vlad. Its helped me to solve the issue.
Hi,
Good, so can you flag this post as Solved? thks
May be using in script like:
if FileSize(filename)<>0