Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
UPDATE not working
Message
From
27/08/2008 15:53:42
 
 
To
27/08/2008 15:49:15
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:
01342339
Views:
13
>What is wrong with this? It replaces all the dates in covr with the same one, probably the first one in the patient table. I can do this in multiple lines with RELATION, but I need it to be one line.
>
>update covr set covr.ph_dob = patient.ptdob where ALLTRIM(covr.pat_no) = ALLTRIM(patient.ptpn)
>
Alltrim is dangerous!!
update covr set ph_dob = patient.ptdob where covr.pat_no==patient.ptpn
Previous
Reply
Map
View

Click here to load this message in the networking platform