Data Connectivity
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Data Connectivity
Message Icon Topic: OR join between tables? Post Reply Post New Topic
Author Message
GowthamSen
Groupie
Groupie


Joined: 03 Jun 2009
Location: India
Online Status: Offline
Posts: 65
Quote GowthamSen Replybullet Topic: OR join between tables?
    Posted: 12 Aug 2010 at 1:28pm
Hi,
 
Can we apply OR join between two tables.
 
I added two tables to the database expert. And in the links section I applied joins.
 
Lets say TabA, TabB.
 
There are two joins
1)  TabA.Col1 = TabB.Col1
2)  TabA.Col2 = TabB.Col2
 
I did these joins. But by default I think it applies "and" condition between these joins. But I want to apply "OR" join.
 
But couldn't find any option. How can we do this?
 
Thanks in advance.
 
Regards
 
Gowtham.
Thank you
Regards,

Gowtham Sen.
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 14 Aug 2010 at 4:28am
try and add table B to the report twice.
Outer join A to B on Col1 and then outer join A to B_1 on col2
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.016 seconds.