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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sub based of Main Parameters

Status
Not open for further replies.

CRilliterate

Technical User
Dec 7, 2005
467
US
My Subreport is the Summary of the Main Report.
Main Report has anly DateFrom and DateTO parameters that used as a formula set to True.

@DateRange

{ASI_RECEIPT_JOURNAL_VW.TRANS DATE} >= {?StartDate} and
{ASI_RECEIPT_JOURNAL_VW.TRANS DATE} <= {?EndDate}

In Select Expert Formula @DateRange is True

Now I need Sub Report to work based on the same parameters.
How am I suppose to do that?

Thanks

________________________________________
I am using Windows XP, Crystal Reports 9.0 with SQL Server
 
I figured that out...
I've created {?SubStartDate} and {?SubStartDate} and @SubDateRange formula and used link subreport to Main Report by linking {?StartDate} to {?SubStartDate} etc.

Thanks

________________________________________
I am using Windows XP, Crystal Reports 9.0 with SQL Server
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top