[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
+---------------------------------+
| COPY STRUCTURE |
+---------------------------------+
COPY STRUCTURE TO <file>
[FIELDS <field list>]
[[WITH] CDX
| [WITH] PRODUCTION]]
-----------------------------------
Copies database structure to another database.
-----------------------------------
FIELDS <field list>
Specifies fields to be copied to new database.
[WITH] CDX | [WITH] PRODUCTION
Creates structural index for new database.
+---------------------------------+
| Program Example |
+---------------------------------+
In this example, CUSTOMER database is opened, its structure is copied to
file called BACKUP and BACKUP is opened for record input. FoxPro then
appends records from CUSTOMER database.
USE customer
COPY STRUCTURE TO backup
USE backup
APPEND FROM customer FOR state = 'OH'
-----------------------------------
See Also: COPY STRUCTURE EXTENDED, CREATE, DISPLAY STRUCTURE
-----------------------------------
See Also:
COPY STRUCTURE EXTENDED
CREATE
DISPLAY STRUCTURE
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson