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

Run Access report from VB

Status
Not open for further replies.

strangeryet

Programmer
Jul 8, 2004
159
US
How would I go about running an access report(s) from a VB application? Also, what if the report is looking for a parameter. Is this possible?
Thanks
 
A little search in the VB forum - seem like an early bound sample thread222-1142148 - to go late bound, pass 2 in stead of acViewPreview.

Here, the WhereCondition arguement of the Access DoCmd.OpenReport method is used to pass the where condition/parameter.

Roy-Vidar
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top