Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Recreating Reports that have a qry file Post Reply Post New Topic
Author Message
sorudne
Newbie
Newbie


Joined: 02 Jun 2009
Location: United States
Online Status: Offline
Posts: 1
Quote sorudne Replybullet Topic: Recreating Reports that have a qry file
    Posted: 02 Jun 2009 at 5:12pm
I need to modify a bunch of existing reports that use a query file. This is not supported with XI, it states I need to use Business Views. The way the data is stored for custom fields and status, requires more than just a standard link. The query reads like:
 
LEFT OUTER JOIN lu_popup ON gen.stage = lu_popup.alias and lu_popup.type = 'Stage'
 
How do you handle this type of scenario in version XI?
 
Thanks for your help...
 
Tim
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet Posted: 03 Jun 2009 at 6:52am
you can try changing the join to LEFt outer on the link in the Data Expert. that will get 1/2 the other 1/2 is to set a record filter in Report/Selection Formulas/Record or to add a where clause to the SQL...I haven't done this in a very long time.  Perhaps DBlank can help.
 
My personal perference is to use stored procs.  A bit more work up front, but they are way more flexible and these sort of issues don't arise.
 
Changing an existing report that binds to the data tables, or even another stored proc, to a stored proc is a bit frustrating, the first couple of times...but by then you hope you have a system, or that you never need to do that again ;)
 
HTH
 
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.