Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with TRY...CATCH?
Message
From
16/07/2009 00:37:40
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows Server 2003
Miscellaneous
Thread ID:
01412651
Message ID:
01412662
Views:
59
Yes, still running SP1. If this is a bug that's been fixed I'll go through the rigmarole to reinstall VFP9 from scratch.

>The code itself seems to be fine. Are you running SP1, could it be a bug corrected in SP2? Somehow I vaguely remember something about that problem, I'll search here.
>
>>Your point is well taken, but that's not the purpose of this method. It's to check if a table can be opened at all i.e. it hasn't been so corrupted that it fails with a "not a table" error.
>>
>>This is strictly a single-user application. However, on the off-chance the table is not corrupt, but actually is opened by someone else, it's probably better to USE...SHARED so it won't fail on a "File in use" error.
>>
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform