select collection_Code,
collection_date,
gl.group_location_id,
cgr.projected_donors,
cgr.scheduled_donors,
recruiter_code = (select Top (1) recruiter_code from group_location_recruiter
where group_location_id = gl.group_location_id and
effective_date <= cg.collection_date order by effective_date DESC),
cv.vehicle_code
from collection_General cg Join collection_groups cgr
on cg.collection_id = cgr.collection_id
Join collection_vehicles cv on cg.collection_id = cv.collection_id
Join group_location gl on gl.group_location_id = cgr.group_location_id
Order By collection_code
ASKER
ASKER
Crystal Reports is a business intelligence application from SAP SE. It is used to graphically design data connections and report layouts from a wide range of data sources including Excel spreadsheets, Oracle, SQL Server databases and Access databases, BusinessObjects Enterprise business views, and local file-system information. Report designers can place fields from these sources on the report design surface, and can also deploy them in custom formulas (using either BASIC or Crystal's own syntax), which are then placed on the design surface. Crystal Reports also supports subreports, graphing, and a limited amount of GIS functionality.
TRUSTED BY
Open in new window