Click to See Complete Forum and Search --> : how to display Start date and End date in Report Header


phyoe88
June 1st, 2007, 12:38 AM
hi
i m using vs2005 and crystal report 11
i want to display Start Date and End date in report header from user inputed ( textbox)
how can i ?

bananamy
June 4th, 2007, 09:18 AM
I am guessing that start date and end date are parameters that define the report.

1st: define your parameters (Field Explorer, Parameter Fields)

"From Date" and "To Date"

2nd:use the selection expert to select those parametes that you defined

select formula {table_name.date_field} in {?From date} to {?To date}

3rd: create a text box and put the parameter in the text

text box sample for a date range
For Date {?From Date} - {?To Date}

Hope this helps....