Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Zap a table.
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00397610
Message ID:
00397621
Views:
15
>Hi.
>How do i zap a table that belongs to a DBC?
>I do this, but doesn´t work.
>
>***********
>mydatabase=datadir+"datos1" && Datadir is the full path to datos1.dbc
>mytable="accounts"
>open data (mydatabase) exclusive
>use (mytable) exclusive
>zap
>close data all
>*****
>
>What am I doing wrong?

It doesn't appear you are doing anything wrong. Other than the fact that you don't need exclusive access to the DBC, it looks okay. You need exclusive access to a table. What error (if any) are you getting?
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform