Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems w. Multi-table (join) UPDATE statement
Message
From
29/08/2003 06:53:21
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Problems w. Multi-table (join) UPDATE statement
Miscellaneous
Thread ID:
00824496
Message ID:
00824496
Views:
40
The following standard ANSI-SQL UPDATE statement fails in VFP 8.

UPDATE lar_sum ;
SET lar_sum.pj_id = dd_proj.pj_id ;
FROM lar_sum, dd_proj ;
WHERE lar_sum.larno+ALLTRIM(lar_sum.cls)+ALLTRIM(STR(INT(VAL(lar_sum.hno))))+ALLTRIM(lar_sum.avail)+RIGHT(STR(INT(lar_sum.fy)),2) ;
IN (Select larno+cls_hno_av from lar_sum_match_proj_nj) ;
AND ALLTRIM(lar_sum.cls)+ALLTRIM(STR(INT(VAL(lar_sum.hno))))+ALLTRIM(lar_sum.avail)+RIGHT(STR(INT(lar_sum.fy)),2) = DD_Proj.pj_pcode

What is the problem, and the solution to this FAIL?

Fred Z
Don
Next
Reply
Map
View

Click here to load this message in the networking platform