Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem SQL Statement
Message
De
04/09/2003 14:34:38
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgie, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Problem SQL Statement
Divers
Thread ID:
00826160
Message ID:
00826160
Vues:
51
The following SQL statement sometimes gives strange results- some of the INV fields will come back as .NULL. while others have values. The INV table does not contain .NULL. values. Is there something wrong with the syntax of the statement? I am using VFP 7. Thanks!

SELECT Whocust.wacct, sales.*,inv.miles,inv.whoseller,inv.color,inv.doors,inv.odometer, ;
inv.new_used,inv.decal,inv.county,inv.color;
FROM cardata!whocust LEFT OUTER JOIN cardata!sales;
LEFT OUTER JOIN cardata!inv ;
ON Inv.line = Sales.line ;
ON Whocust.wacct = Sales.sacct;
WHERE Whocust.wacct = myacct ;
ORDER BY sales.date, sales.make, sales.model ;
into cursor vwsinv
A problem is a problem only as long as it has a possible solution. Lacking that, it becomes a FACT!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform