General information
Title:
Locfile() + cancel generates error - any other way?
Hello all.
I'm using 2.6 (no chance for upgrades at this moment).
In an application, I'm using locfile() to allow the user to select which file to import. However, if the user presses cancel, the program generates an error. This is even specified in help. I don't really like this b/c I think the user should be able to cancel the process and return to the main menu. Also, the next line of code checks if a file was selected, if not - return to master.
Is there a way to get around this error or a better option for me to use?
I appreciate it,
Sunshine
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only