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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Opening a Report from A Form

Status
Not open for further replies.

92hilux

Technical User
Jan 28, 2003
22
CA
I have a report that must be opened via the form.

The report itself works perfectly, asking for a parameter to querry the data with.
The code i presently have.. to open the report, causes it to open empty everytime, regardless of the parameter value.

Is there a simple code that i'm missing?
 
oh one more thing..
How do you transfer a text variable from the form to the report/querry?
 
YEAH!!! i did it!!

only pulled out half my hair!


the code was as follows if you care to know:

>>DoCmd.OpenReport "rptResults", acViewPreview, qryTotal, Title = txtSearchTitle
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top