PDA

View Full Version : Query To Populate in Sub Form



mattster1010
07-18-2008, 02:36 AM
Morning All,

I have a from that captures critirea in three textboxes (Date from, Date To and Employee Name). I have a command button that runs a query and displays the results in a seperate window in datasheet view.

I would like the results to be shown on a subreport, instead of a seperate window, can anyone point me in the right direction of how this my be achived?

Regards,

Matt

OBP
07-18-2008, 08:18 AM
Just use the Report Wizard to create a report based on your Query and use the Command Button to open the Report instead of the Query.