Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ideas on Accessing Tables
Message
From
15/02/2001 02:43:17
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00475216
Message ID:
00476166
Views:
30
I don't understand why you can't accessing table, but here it is an idea:



old_alias = ALIAS()
old_error = ON("ERROR")
flag_error = .f.
ON ERROR flag_error = .t.

USE MyTable EXCLUSIVE IN 0

IF NOT USED("MyTable") .OR. flag_error
**** Table is not accessible
ELSE
**** Table is accessible
ENDIF

ON ERROR &old_error
IF NOT EMPTY(old_alias)
SELECT (old_alias)
ENDIF


HTH
Boris
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform