Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Slow replace the record
Message
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01194547
Message ID:
01194578
Views:
22
>Boris, in this sql , I want use where admtd=1 from student and type=1 from dly and pdate from public, When i put this in your codes no result i have found, How this fix.
>thans

O, I didn't notoce you have SET FILTER, try:
INSERT INTO dly (code,date, type, category, scode, lcode, sec);
SELECT Student.code,;  && This goes to Dly Code field
       pdate,;         && This goes to Dly Date field
       1,;             && This goes to Dly Type field
       [P],;           && This goes to Dly Category field
       Student.scode,; && This goes to Dly SCode field
       Student.lcode,; && This goes to Dly LCode field
       Student.sec;    && This goes to Dly Sec field
FROM Student;
LEFT JOIN Dly ON Student.Code = Dly.Code;
WHERE Dly.Code IS NULL AND Student.Admtd=1
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform