generate Reports for the particular range of dates
hi,
i am developing a vb application. in that i want to generate Crystal reports for a particular range of dates.
Eg:
Starting date month and year in one combo box
Ending date ,month and year in another combo box..
which query i've to use to solve this problem... i'll be happy if you give me any solution..
thanx,
Ravi.
Re: generate Reports for the particular range of dates
Hi
Just Build your query as per your requirement and then set it to report's
sqlQueryString.
Re: generate Reports for the particular range of dates
Moved to reporting section
Re: generate Reports for the particular range of dates
Hi.....
Try Using DTPicker Control....It's in the Microsoft Common Controls-2 6.0
It will return values for specific dates...
Re: generate Reports for the particular range of dates
The sql for such is usually like the ff...
VB Code:
"SELECT * FROM Table WHERE fldDate BETWEEN #" & cboDate1 & "# AND #" & cboDate2 & "#"