Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy structure question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00130114
Message ID:
00130123
Vues:
17
>Hello All;
>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??
>
>
>Thanks
>
>Sandy

Select Table1
=afields(myarray)
CREATE TABLE tmp FREE From ARRAy myarray
Select tmp
COPY TO Table2 TYPE FOX2X
USE IN tmp
Delete File tmp.dbf
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform