Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy Stru Over write
Message
From
18/12/2003 12:16:52
Joel Hokanson
Services Integration Group
Bellaire, Texas, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Copy Stru Over write
Miscellaneous
Thread ID:
00860404
Message ID:
00860404
Views:
59
I can easily create a new table with

COPY STRUCTURE TO newfile DATABASE mydbc

However if that file exists then I get an error

Normally I do this at the end of a program:
OPEN DATABASE mydbc
REMOVE TABLE newfile DELETE


However if for any reason the file is not deleted in advance, I get the error.

How can I copy structure to the new one and OVERWRITE an existing one if it is there.
Next
Reply
Map
View

Click here to load this message in the networking platform