Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy fields
Message
 
À
26/11/2004 13:26:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00965005
Message ID:
00965010
Vues:
8
RELATE the tables & use a simple REPLACE
SELECT Table1  && That table contains Field4
SET RELATION TO Key INTO Table2 [ADDITIVE]
GO TOP
REPLACE ALL Field1 WITH Table2.Field1,;
            Field2 WITH Table2.Field2,;
            Field3 WITH Table2.Field3
SET RELATION OFF
>hi all,
>
>how i can replace field1,2,3 from mytable1(mytable1 have 3 fields only), to mytable2 field1,2,3 but keep field4 as it is,
>
>somthing as scatter memvar from table1 ,gather memvar to table2.
>
>thanks.
>m.qasem
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform