Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: data based on field value Post Reply Post New Topic
Author Message
dweekley
Newbie
Newbie


Joined: 02 Nov 2010
Online Status: Offline
Posts: 13
Quote dweekley Replybullet Topic: data based on field value
     Posted: 21 Apr 2011 at 2:44am
Hello, I have a dded a field to my report to show our parts extended description, but I want that to display based on the part number itself.  I am familiar with dlookup, but not sure how to perform this in Crystal.
 
David
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4374
Quote lockwelle Replybullet Posted: 21 Apr 2011 at 3:48am
link to the table that you would use for the dlookup and link the 2 tables together, or add the part number to the report.
 
you can't use dlookup in CR.  You need to retrieve all the data that your report needs at one time.  CR will not go back to the database to get more data. The exception to this is a subreport, but you are looking to gather information which is known, and so should be a brought in all at once.
 
HTH
IP IP Logged
dweekley
Newbie
Newbie


Joined: 02 Nov 2010
Online Status: Offline
Posts: 13
Quote dweekley Replybullet Posted: 21 Apr 2011 at 4:29am
Thanks for the assist.  That seemed to have taken care of it.
David
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