Protocols ViewRpvReport &
PrintRpvReport
When Rpv Reports is installed, two new
protocols are generated specially to be used by web applications. They are very
important for languages like ASP and PHP.
Now that the protocols have been created, Windows will recognize them in the
same way that know that "http:" means "open IE"
or Firefox (or any other default web browser) and "mailto:" means "create a new
e-mail" using the default e-mail client.
It can be complex to open a report from a web page without these
protocols because it is needed that your web application can execute a program
(Rpv in this case) that is on the client's disk.
However, using these protocols will be very
simple to execute Rpv from any browser and/or any html document.
Examples:
View a report
<a href="viewrpvreport:c:\reports\myreport.rpx">Click
here to see the report
Print the report
<a href="printrpvreport:c:\reports\myreport.rpx">Click
here to print the report
Sending values to control how Rpv
starts
Rpv Reports (viewer and
RpvPrint.exe) accepts many commands for its start.
To specify those commands it will be necessary to replace the space between the
name of the file and the commands by a question sign.
Example:
<a href="printrpvreport:c:\reports\myreport.rpx?/c">click
here to print the report
|