>> Create a prg or a function instead.
>
>Thank you.
>I created fxp file
>
>IF wexist('Printing...')
> RELEASE WINDOWS 'Print Preview'
> ENDIF
>RETURN ''
>
>and tried to call it from group footer and from summary band.
>This causes also C5 exception when print button is clicked from preview window.
>I tried in 3 different computers and in each computer C5 exception occurs.
>How to fix ?
>
>I have 500 forms and only one customer requires this functionality.
>Should I modify all 500 forms manually one by other or is there better solution ?
Check here:
Techniques for Alternate Report Previews.