Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Skip for already replaced records
Message
From
24/02/2005 11:49:20
 
 
To
22/02/2005 17:07:38
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00989215
Message ID:
00990170
Views:
32
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"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform