Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File in Use Problem
Message
From
14/03/2000 23:02:21
 
 
To
13/03/2000 09:39:24
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00344962
Message ID:
00345662
Views:
19
> if used('selhdr.dbf')
> else
> use selhdr in 0 exclu
> endif

Well, an alias can't hold a ".", so I know you'll always hit the else. And it lookslike you're trying to test if a table can be opened exclusivly before you open it? Not possible, what you do is try to open it exclusivly, THEN test its success, if you want, temporarily disable the error hanlder.

lcError = on('error')
on error *

use excl

on error &lcError


Now test if it worked or not.
Previous
Reply
Map
View

Click here to load this message in the networking platform