Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
UPDATE not working
Message
 
 
To
27/08/2008 16:24:35
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01342335
Message ID:
01342354
Views:
17
You're updating Covr table, so it should be first here in FROM clause and then you join with Patient, because you're updating Covr with patient's data.


UPDATE TableToUpdate FROM TableToUpdate INNER JOIN TableUsedForUpdate ON ...

The only thing I haven't exactly figured in this syntax as how to apply aliases for the tables here.

>Ok. Why is the FROM referencing the covr table? Logically it seems like it would be the patient table as that is where the update is coming from. Just trying to understand the logic of it.
>
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