Instead of using COPY STRUCTURE, try COPY TO name2 FOR .F. TYPE FOX2X.
>I have 2 properties on a form. txt1 holds a name of a dbf file that currently exists and txt2 holds a name of a dbf file that I need to create.
>
>I want to be able to create this second dbf in the same format that the first table exits.
>If cpcode() = 1252
> copy stru to name2
>else
> how do I create the second file if it needs to be a type fox2x??