Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Skip for already replaced records
Message
 
 
À
22/02/2005 17:07:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
00989215
Message ID:
00990170
Vues:
34
Here is a one-liner, if I understand your need correctly, and given that the field with the values A, L and P is called "category" in both tables

Insert into (Dbf(Alias(11))) (code, date, type, category, scode, lcode, sec);
Select code, date, 1 as type, category, scode, lcode, sec from Dbf(Alias(6)) where admtd=1 order by category

>i am replace the data in 11(add new records)
hi tore message is comming"select abject is not match"
because in alias 6 category 1 and date is not exist. i am using as temp veraialbe"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform