Javier,
If it's a one-page report, you could test in an eep, and then if necessary
use PROPERTY cid VISIBLE 'FALSE' to turn off everything that normally
prints, and ...VISIBLE 'TRUE' to turn on a static text control that says
"You are not authorized to view this report."

Bo;;

On Wed, Sep 24, 2008 at 5:43 PM, Javier Valencia <
[EMAIL PROTECTED]> wrote:

> I have a confidential report that it is called from many locations within
> an
> application. Rather than add code to check if the user has the permission
> to
> generate the report before the report is started, I would like to place the
> code in the report itself (Before generate). Is there a way to stop the
> report with code from the "before generate" EEP? I have tried CLOSEWINDOW
> but it does nothing and the report continues to execute...any ideas?
>
> Javier,
>
> Javier Valencia
> 913-915-3137
>
>
>

Reply via email to