Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Generate a report of form's data

Status
Not open for further replies.

mkphan

IS-IT--Management
Jan 9, 2001
18
US

I currently have a form with 1 subform. I would like to generate a report base on the data on this form. Is that possible?

Thanks in advance,

MK
 
Yes, you can.

1) put a button on your form that displays the report in "preview". Assuming you want your users the ability to preview a report while they are on that form.

2) create a report with all the fields that you have contained on your form.

3) pass the value that you are using to link your main form to your subform in the report's OnOpen event.

This should get you started in the right direction.

Mickey
 
You can also try the following;
Create a query using the Main table and sub table and build the report from the query or;
Build your report from the form and then insert a subreport created from your subform.
I have used both depending on what I need to see.
 
Thanks to both of you....;o)

MK
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top