Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drop tables
Message
From
31/10/2005 06:30:47
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Environment versions
Visual FoxPro:
VFP 8
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01063462
Message ID:
01063465
Views:
7
hi,

thank you,it works.

i need to drop it if found, if not show a message
as
OPEN DATABASE e:\depstudy\mydbc1\mydbc1
SET DATABASE TO mydbc1
locate for table am2,am3
if found() 
DROP TABLE am2

DROP TABLE am3
else
= messagbox("TABLES NOT FOUND")
ENDIF
>>hi all,
>>
>>any idea ,help
>>
>>i need to drop 2 tables am2,am3 from my database(mydbc1),
>>every time i run my form.
>>
>>drop e:\depstudy\mydbc1\am2
>>drop e:\depstudy\mydbc1\am3
>>
>>
>>thanks
>
>No, that is not the way. Here it is:
>
>OPEN DATABASE e:\depstudy\mydbc1\mydbc1
>SET DATABASE TO mydbc1
>DROP TABLE am2
>DROP TABLE am3
>
Previous
Reply
Map
View

Click here to load this message in the networking platform