Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Any quick way to update the records
Message
From
02/10/2007 17:39:59
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Any quick way to update the records
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01258106
Message ID:
01258106
Views:
53
*table "newt" have lcode, sec and res10,res11....res24
*and table staff have lcode,sec and fail.
*I want to fail with res10,res11....res24 value
lcode have ="c1....ct" and also lcode contain different sec

I try but it is not easy.
UPDATE stafft ;
SET stafft.fail = newt.res13 ,;
SET stafft.fail = newt.res17 ;
FROM newt;
WHERE stafft.lcode = "C5" AND stafft.sec="C"AND stafft.subcode="c19"

Next
Reply
Map
View

Click here to load this message in the networking platform