Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sub report

Status
Not open for further replies.

swetham

Programmer
May 5, 2010
257
DE
I have two tables employees,data
employees contain,

Emp_name Emp_initial

Data contain

Initial Duration Date


I have a main report where i have two parameters startdate and enddate and i wrote a formula in select expert->record as
Date in startdate to enddate.

Now i want a subreport which also should be filtered according to the selection formula in main report and the report should be like,

Name Total
abc 67
frt 89
ert 56
opi 0

Name should display all the employees list and total should should be zero if they wont work from startdate to enddate.

Can anyone help?
 
You should be able to do it with a crosstab. QUicker than a subreport since it reshuffled the data the report has already collected, whereas a subreport does its own data collection.

[yinyang] Madawc Williams (East Anglia, UK). Using Crystal 11.5 with SQL and Windows XP [yinyang]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top