|
Posted by Ed Murphy on 03/24/07 02:05
yin_n_yang74@yahoo.com wrote:
> I am new to SQL and SQL Server world. There must be a simple solution
> to this, but I'm not seeing it. I am trying to create a crystal
> report (v8.5) using a stored procedure from SQL Server (v2000) in
> order to report from two databases and to enable parameters.
>
> When I create the stored procedure, it joins multiple one-to-many
> relationship tables. This results in repeated/duplicate records. Is
> this an issue that should be solved within the stored procedure, or is
> this inevitable? If latter, how do you eliminate the duplicates in
> Crystal Reports?
Never mind the stored procedure, have Crystal read the tables
directly: Event from the main report, Food from a subreport,
Equipment from a second subreport. Pass the primary key of
Event to each subreport as a parameter, linking it to the
appropriate foreign key within the subreport.
[Back to original message]
|