Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Locfile()
Message
From
20/07/1998 19:59:20
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00119369
Message ID:
00119523
Views:
16
Um, how about disabling your standard error handler before the call, trapping for this error and then re-enabling the error handler...oops, sorry, I couldn't resist! Seriously, no. Gotta admit, though that's always scared me away from the function...

>The Locfile() command returns a VFP error if you click CANCEL, instead of a null string or other "This didn't work" value. I *can* use Getfile(), although I would prefer Locfile() for a specific use. Any suggestions other than disabling our standard error handler before the call, trapping for this error and then re-enabling the error handler?
>
>TIA
>Barbara
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform