Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Linking tables Post Reply Post New Topic
Author Message
Pamela
Newbie
Newbie
Avatar

Joined: 04 Apr 2013
Location: United States
Online Status: Offline
Posts: 5
Quote Pamela Replybullet Topic: Linking tables
     Posted: 04 Jun 2014 at 4:34am
I have 2 address data tables. The master file has columns with coordinates and the secondary address table does not.  Is there any way to link the two so i can use the map coordinates in the primary table with the identical addresses in the second table?
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4374
Quote lockwelle Replybullet Posted: 05 Jun 2014 at 4:52am
it would depend...is there some value that both tables have...typically it is an id, but it could be a name.

There needs to be a column that has the same values so that CR can link them together.

HTH
IP IP Logged
Pamela
Newbie
Newbie
Avatar

Joined: 04 Apr 2013
Location: United States
Online Status: Offline
Posts: 5
Quote Pamela Replybullet Posted: 05 Jun 2014 at 4:58am
Yes, there is a address column with every address in my city in the master table, and an address column with identical data in the persons data table.  I need it to look at an address column in the "persons" address column, go find the identical address in the master address column and bring in the coordinates for that address. 
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4374
Quote lockwelle Replybullet Posted: 05 Jun 2014 at 5:13am
if that is the 'overlapping' column, I would link the 2 mapping tables together based on that, this hopefully is a 1 to 1 mapping so that data doesn't duplicate or is excluded.

then you could just use the info from whichever table has it and display it on the report.

HTH
IP IP Logged
Pamela
Newbie
Newbie
Avatar

Joined: 04 Apr 2013
Location: United States
Online Status: Offline
Posts: 5
Quote Pamela Replybullet Posted: 05 Jun 2014 at 5:16am
Thank you,
I will try mapping from the lesser table to the master table by address column and see if it works.
IP IP Logged
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