Command COPY STRUCTURE EXTENDED Foundation
Copies a list of field definitions to a new file.
COPY STRUCTURE EXTENDED TO <cFilename>
The command COPY STRUCTURE EXTENDED generates a structure extended file with four fields containing the field definitions of the fields in the current work area. For each field in the current work area, a data record is added to <cFilename>. The structure of the file <cFilename> is shown in the following table:
|Field name||Field type||Field length||Decimal places|
The command COPY STRUCTURE EXTENDED is similar to the function DbStruct(), which returns the list of field specifications in a two-dimensional array. The command COPY STRUCTURE EXTENDED instead writes this information to a file. It is also used to define or change the field structure of database files at runtime of an Xbase++ application. The corresponding file can be created using the command CREATE FROM.
The functional equivalent of COPY STRUCTURE EXTENDED is the function DbCopyExtStruct().
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.