Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Locfile() + cancel generates error - any other way?
Message
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00626414
Message ID:
00626415
Views:
11
>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

how 'bout getfile()?
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown
Previous
Reply
Map
View

Click here to load this message in the networking platform