Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Update table from other table
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01480441
Message ID:
01480452
Views:
38
>>Start with the select first - verify that select produces right data. Then turn SELECT into update.
>sorry Noomi: i can not under stand

Try
select Ex.*, Hv.*, 
ceiling((Hv.Perc+0.9)/10) as FinalValue from Exam Ex inner join Hwsv Hv ;
on Ex.Code = Hv.Code
If this select statement works correctly, then the original UPDATE statement should have worked correctly too.
If not, post what is wrong in this select statement.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform