Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Easier way to perform this?
Message
De
28/06/2004 19:00:52
Luis Navas
Independent Consultant
Auckland, Nouvelle Zélande
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Easier way to perform this?
Divers
Thread ID:
00918194
Message ID:
00918194
Vues:
42
Hi, I'm inserting records from one table into another, but I only have to insert those record that aren't in the destination table. Now I'm doing it like this:
*!* Source Table
Select Table1
Scan
   lnId=Table1.Table1Id
   If !Seek(lnId,"Table2")
       Insert Into Table2 (id) Values (lnId)
   EndIf
EndScan
Is There any easy way?, for example a combination of Insert and Select
Thanks.
Luis Navas
I never forget a face, but in your case I will make an exception :-)
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform