Tips and Tricks
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Tips and Tricks
Message Icon Topic: Table Comparison Post Reply Post New Topic
Author Message
dragon807
Newbie
Newbie
Avatar

Joined: 22 Mar 2013
Online Status: Offline
Posts: 2
Quote dragon807 Replybullet Topic: Table Comparison
    Posted: 22 Mar 2013 at 10:42am
I am comparing 2 tables with a common field:
table1.custid   table2.custid

I am trying to get the records from table1.custid to display that doesn't have a record matching in table2.custid

Any help would be greatly appreciated.
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 22 Mar 2013 at 11:00am
outer join and use record select
isnull(table2.custid)
IP IP Logged
dragon807
Newbie
Newbie
Avatar

Joined: 22 Mar 2013
Online Status: Offline
Posts: 2
Quote dragon807 Replybullet Posted: 25 Mar 2013 at 2:59am
Thanks. That worked.Tongue
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.000 seconds.