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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using visual linking expert for complex left join

Status
Not open for further replies.
May 2, 2002
16
US
I want to do the following using visual linking expert:

select ....
from table1
left join table2 on table1.field1 = table2.field1
and table2.field2 = 123456

Is there a way to accomplish this in crystal without modifying the SQL directly and without using a WHERE which would force an inner join?
 
You can do a left joint in the Visual Linking Expert and then put your filtering criteria (table2.field2 = 123456) into the report record selection formula, should be the same effect.
 
I cannot use filtering criteria because it will add table2.field2 = 123456 to the WHERE clause and force an inner join. It needs to be part of the join. Any other ideas?
 
Looks like there is not such an option in Crystal. Need to modify a stored proc or view you report off.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top