multiple print preview forms
I have a report that display a specific set of data in a preview form
(ppViewer1). On the is there is a button HHButton. When I click this button
I want to open another preview form (ppViewer2) to display the data that
pertains to the HHbutton conditions. So far I am unable to open one viewer
form the other viewer.
Thanks
Patches Rhode
(ppViewer1). On the is there is a button HHButton. When I click this button
I want to open another preview form (ppViewer2) to display the data that
pertains to the HHbutton conditions. So far I am unable to open one viewer
form the other viewer.
Thanks
Patches Rhode
This discussion has been closed.
Comments
1. One option which would not require two viewers would be to create a drill
down report. When the user clicks on data, a subreport can expand to show
more detail. See the Developers Guide tutorials for an example and check out
the RBuilder\Demos\Reports\Demo.dpr.
2. Another option is to enable an object from the report layout to be hot
clickable in the viewer, so that when the user clicks it you can code some
action to happen - display some information or launch another report. Here
is a simple example...
www.digital-metaphors.com/tips/DrawCommandCustInfo.zip
3. You should also be able to add a button to a preview form and do
something such as you describe. However, you have not really provided enough
information to determine where the issue is. Please create a simple example
project using the DBDemos data and email to support@digital-metaphors.com
and we can check it out.
--
Nard Moseley
Digital Metaphors Corporation
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com