Skip to main content

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Action-Packed Learning Awaits! QlikWorld 2023. April 17 - 20 in Las Vegas: REGISTER NOW
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Button action failed - notify the user


I'm using the button with action External -> Launch -> '\\server\share\folder_xx'. This is works for me. In case of folder_xx does not exist, I get the popup window with error: "Failed to Launch \\server\share\folder_xx'.

Is it possible to add something that will show me other message: "The folder your'e trying to open does not exist on the server" ?

Best regards

1 Reply
Not applicable

I think you will need to do it through a macro. This bit of code checks for a file existing and you could add a msgbox to show a warning message.

set fso = CreateObject("Scripting.FileSystemObject")

on error resume next

set logFile = fso.GetFile(vExportLog)

if err <> 0 then ' file does not exist
on error goto 0