Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL JOIN to Update
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01113543
Message ID:
01113547
Views:
20
I'm using VFP9.

Corrected:
SELECT Temp3
SCAN
				
    =SEEK(Temp3.ClientId, "Client", "ClientId")

    REPLACE IN Temp3 ;
       ClientName WITH ALLTRIM(Client.ClientId) + " - " + Client.Cl_Name
       NEXT 1

END SCAN
>>How can I use a JOIN to update instead of:
>>
>>
>>SELECT Temp3
>>SCAN
>>				
>>    **=SEEK(TempJoin.ClientId, "Client", "ClientId")
>>    =SEEK(Temp3ClientId, "Client", "ClientId")
>>
>>    REPLACE IN Temp3 ;
>>       ClientName WITH ALLTRIM(Client.ClientId) + " - " + Client.Cl_Name
>>       NEXT 1
>>
>>END SCAN
>>
>
>Hey, from where TempJoin comes from?
>BTW what version of VFP you use?
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform