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

Running an Access report from a link

Status
Not open for further replies.

Airbiskit

Technical User
May 20, 2003
89
GB
Is this possible to access an Access report by using a link from say Word? I know you can have a startup menu in Access that can have buttons to the reports but I was after a link that could go straight into the report.

Any ideas?

Thanks
 
Create a macro in your db that runs the report.

Then, in your Word document you need a link to a full Access command line which takes the form:

[Location of Access EXE] [Location of db] /x [Name of created macro]

e.g.

"C:\Program Files\Microsoft Office\Office\msaccess.exe" "C:\mydbs\db1.mdb" / mcrRunRpt

Then your link will open the db and run the report.

Hope this helps.

[pc2]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top