Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

LEFT OUTER JOIN in VFP7

Status
Not open for further replies.

LOUISP

Programmer
Dec 16, 2002
4
0
0
AU
I have a SELECT statement with a LEFT OUTER JOIN and a AND clause refering to the right table.
I have noticed that in VFP6, I obtain one set of results and in VFP7 I obtain a different set of results with the same SELECT statement.

VFP7 adds in the NULL values from the right side of the join, however VFP6 does not.

Has there been any change in the way LEFT OUTER JOINS work in a SELECT statement in VPF7?

e.g. SELECT table1.* ;
FROM table1 ;
LEFT OUTER JOIN table2 ;
ON table1.key = table2.key ;
AND table2.data = "X" ;
INTO CURSOR my1 NOFILTER
 
Hi
SET NULL ON or OFF in both versions and try.
:) ramani :)
(Subramanian.G),FoxAcc, ramani_g@yahoo.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top