Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Database object is being used by someone else. - ERROR
Message
 
 
To
19/06/2002 22:50:10
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00670448
Message ID:
00671372
Views:
49
>Can anyone give any insight on how to avoid this error or setup a retry?
>
>I have a database access remote SQL data for a web application.
>
>My code simply is "Use MYVIEW Again"
>
>I get the error about every 50th time the code is run.
>
>All / Any help is appreciated.
>

Foxpro locks view definition in DBC shortly during openning. There're a few workarounds:
- Use VFP7 new SYSTEM clause in SET REPROCESS command to increase time or number of attempts.
- Provide separate DBC with views for each user. I'm not sure if you can do it for web access.
- Mark DBC with views as read only. It was reported that it works but you should test for yourself for any side effects.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform