Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combining cursors?
Message
 
 
To
22/03/2007 11:36:00
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01207113
Message ID:
01207118
Views:
24
>I have two cursors crsData and crsMPM. I need to put the MfgName and MfgNum into crsData with specific PartNum from crsMPM. However, some of the PartNum in crsData does not have MfgName and MfgNum. How can I just add these two fields to the specific PartNum and still keep the PartNum without the MfgName and MfgNum in crsData. Please help. Thanks, Sam
select crsMPM.*, nvl(crsData.MfgName, space(30)) as MfgName, ... ;
from crsMPM left join crsData on crsMPM.PK = crsDara.FK
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform