SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 crystal report - sql
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jb019
Starting Member

Philippines
1 Posts

Posted - 12/10/2012 :  01:14:22  Show Profile  Reply with Quote
hi,

how can i display a field in crystal reports wherein it has many records in it? for example

project number : advcamp
contract name : contractor 1
contractor 2
contractor 3
--"headers and group section of the report"
-------------------------------------------------------------
Column 1 | column 2 | column 3 | column 4 |column 5 |column 6

--"body of report"

im talking about the contractor name field wherein a project there could be one or many contractors and i only want to list the names of the contractors in every project and with the body of report.


because in my case right now this is what the report displays

project no : proj1
contractor name : contractor 1

-------------------------------------------------------------
Column 1 | column 2 | column 3 | column 4 |column 5 |column 6

contractor name: contractor 2

-------------------------------------------------------------
Column 1 | column 2 | column 3 | column 4 |column 5 |column 6

my problem with this is that the report body is being displayed every contractor of the project.

pls help me. thanks :)

madhivanan
Premature Yak Congratulator

India
22761 Posts

Posted - 12/24/2012 :  07:57:13  Show Profile  Send madhivanan a Yahoo! Message  Reply with Quote
You need to group the report by project and then by contractor.

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
52323 Posts

Posted - 12/24/2012 :  15:32:54  Show Profile  Reply with Quote
what do columns represent? attribute for project? if yes group by projectid (or similar identifier) then join to contractor table to get associated contractor details.

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000