Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Duplicate Structure
Message
From
29/08/1999 10:13:34
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
27/08/1999 12:34:34
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00258468
Message ID:
00258960
Views:
14
>>>Hello, How can I duplicate a table structure, I need to have 5 tables whith the same records in the same dataBase.
>>
>>Look at COPY STRUCTURE TO
>>
>>>TIA
>
>Careful- using COPY STRUCTURE, you'll lose any extended table properties, even with the DATABASE clause.

Using
=afiel(laStru)
laStru[1,12]=lcNewTable    && must change the name
create table (lcNewTable) from array laStru
should keep more info. I just tried this and it kept the default value, captions etc.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform