Subject REPORT PREVIEW FORM
From Mustansir Ghor <mustan31@hotmail.com>
Date Mon, 12 Mar 2018 03:26:06 -0400
Newsgroups dbase.getting-started

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()