View Single Post
  #1  
Old January 5th, 2010, 10:22 PM posted to microsoft.public.access.reports
Mark Andrews[_2_]
external usenet poster
 
Posts: 600
Default Reports from dialog form

I have a variety of reports in my access2007 application. Most launch from
a reports form and display maximized with a custom ribbon to preview the
report (export to pdf etc...).

However some I like to run from a dialog form (example: when on a contact
form you can easily launch the contact summary report (to show all
information for that one contact).

By default when I run the following code:
DoCmd.OpenReport "rptXXXX", acViewPrieview,, "(ContactID = " & Me.ContactID
& ")", acDialog

the report shows up in a dialog window.

Here's the issue:
- when using the Access2007 runtime the shortcut menus are disabled so you
can't even right click to get the menu to print the report (you have to know
to use Ctrl+P). This is not user friendly enough for my users.

What's the best solution?

Most of my reports have two forms open when they are launched:
frmContactList and frmContact for example.
frmContactList might be filtered to show 50 of the 600 contacts available
frmContact would be showing one contact's information

Thanks in advance,
Mark