Can anyone help me with the code for this application?

My aim is to display reports, created with crystal reports, on a webpage after users enter a date range(generated by a sql form). The data for the report is stored in a query in an Oracle database.

Note:

1.  the report is expected to generate new data based on the date range entered or if the data in the tables, that were used to create the query, changes.

2.  the report is activated by a button click on the web form.