Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Report Design
Message Icon Topic: index is blue color marker for primary key Post Reply Post New Topic
Author Message
bkel
Newbie
Newbie


Joined: 24 Jun 2013
Location: United States
Online Status: Offline
Posts: 2
Quote bkel Replybullet Topic: index is blue color marker for primary key
    Posted: 25 Jun 2013 at 12:35pm
I am trying to understand the Links Tab in the database expert- where it shows the Index colors. I have read that mostly primary keys are Red - the 1st indexed. ALLL of my tables from Access Primary Keys - are showing ANY color Other than RED. but Red is assigned to NON primary keys. Please explain???? - what does multi colored ones mean???

thanks,
bkel

Edited by bkel - 25 Jun 2013 at 12:36pm
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet Posted: 26 Jun 2013 at 4:36am
in all honesty, I've never worried about the colored flags. As long as you are joining on a indexed field, the join will be faster.

You don't need to join on an indexed field.

Well that's my two cents
IP IP Logged
praveeng
Senior Member
Senior Member
Avatar

Joined: 11 Jul 2011
Online Status: Offline
Posts: 165
Quote praveeng Replybullet Posted: 26 Jun 2013 at 7:18am
Hi Kelly,
 
Adding to above suggestion,
 
Linking to a field in a table that has an index will speed the retrieval of data from the database, so if an indexed field is available, try to use it. An index is created by a database designer or database administrator and can involve a single field or a group of fields.  Index arrows are pentagons that are color-coded; the color tells you whether it was the first index created, second index created, etc., It is important to note that indexes are created at the database level and not in Crystal Reports. Crystal can use only existing indexes.

When linking database tables together, you may link on any field you choose ”there is not a requirement to link to or from an indexed field. For performance reasons, however, you may still want to try to link to indexed fields anyway. You may see improved record retrieval speeds.

--Praveen G

Praveen Guntuka,
praveen_guntuka@yahoo.com
IP IP Logged
bkel
Newbie
Newbie


Joined: 24 Jun 2013
Location: United States
Online Status: Offline
Posts: 2
Quote bkel Replybullet Posted: 26 Jun 2013 at 12:33pm
I understand all of that - however - I do not understand WhY my primary key from Access(the database) is NOT showing up as RED - IT IS THE PRIMARY index????
thanks,
bkel

Edited by bkel - 26 Jun 2013 at 12:33pm
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet Posted: 27 Jun 2013 at 4:38am
perhaps it was not the first index created on the table?

After all the legend does not say Primary Index, just first, second, etc.


Edited by lockwelle - 27 Jun 2013 at 4:39am
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.031 seconds.