Subject Re: REPORT PREVIEW FORM
From Mustansir Ghor <mustan31@hotmail.com>
Date Mon, 12 Mar 2018 03:33:29 -0400
Newsgroups dbase.getting-started
Attachment(s) Capture 1.PNG

Ooops I had forgot to attach file.  I am doing it here

Mustansir

Mustansir Ghor Wrote:

> Dear All
>
> I am using below code to generate report. Report is fine but its duplicate image is seen in the navigator tab behind (attached image). How to avoid the duplicate.
>
> Pls can anybody help me on this.
>
> Best Regards
> Mustansir
>
>        set procedure to cashcol.rep
>        oRep = new cashcolReport()
>        oRep.pagetemplate1.report_title.text=form.lbrepname.text+\' as on \'+form.rpdate.DATEEF.value
>       set procedure to :duflp:preview.wfm additive
>       fPreview = new PreviewForm()
>       fPreview.bModal = true
>        fPreview.bClose = false
>       fPreview.bShowHTML = false // default
>       fPreview.viewer.ref := oRep // <-- new
>       fPreview.open()