I want my application to be able to print details from the databse. I hava a report already in the program but it displays the list off all persons in the database. I want to create a form where i can use a query and the result of the query would be printed on the report.

i used the report wizard and i followed the instructions. Its the code i need also to be able to select a particular set of data that meet the search string