Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
REINDEXING A TABLE IN A MULTI-USER ENVIRONMENT
Message
From
02/09/1998 14:43:50
 
 
To
02/09/1998 14:39:50
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00132479
Message ID:
00132482
Views:
17
>I have an application in an multi-user environment.
>Every time I try to use the tables exclusively to reindex the files I get an error . I guess some user still have tables open at their workstation.
>What functions should I use to find out if the table is being used so I can skip it ( since I need exclusive use ) and go on with the next table in my database?.
>
>
>Thanks,
>Sergio

Yuo can trap ON ERROR:
lErrorflag=.f.
ON ERROR lErrorflag=.t.
USE table1 EXCLUSIVE
ON ERROR
IF lErrorflag=.t.
...
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform