Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drop tables
Message
From
31/10/2005 06:49:27
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
31/10/2005 06:16:54
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:
01063467
Views:
7
>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
OPEN DATABASE e:\depstudy\mydbc1\mydbc1
if indbc('am2','Table')
  DROP TABLE am2
endif
if indbc('am3','Table')
  DROP TABLE am3
endif
If you would drop them every time you run a form why are you adding them to a database in the first place.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform