Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combining cursors?
Message
 
 
À
22/03/2007 11:36:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01207113
Message ID:
01207118
Vues:
23
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform