Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to close DBC
Message
From
27/12/2001 10:28:45
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00598340
Message ID:
00598430
Views:
30
3 stars Sergey. The following code worked.

IF DBUsed(JustStem(tcDBCName))
SET DATABASE TO (tcDBCName)
CLOSE DATABASES
ENDIF
DELETE FILE ForceExt(tcDBCName,'DBC') && Error ocurrs because file is in use
DELETE FILE ForceExt(tcDBCName,'DCT')
DELETE FILE ForceExt(tcDBCName,'DCX')

Thanks. Alex

>Hi Alex,
>
>Try to specify full DBC name in SET DATABASE TO.
Previous
Reply
Map
View

Click here to load this message in the networking platform