Hi Bruce,
I did it. so, i was calling FRB RuntimeReport directly from server after click on button. i´ve created a NetWebPage serving PDF and i´m calling it as URL from button. On processed code embed i´m calling FRBRuntimeReport the same way i´ve sent last post with this change:
! == Sending PDF file Priority 2500
If Not p_Web &= NULL
if not p_web.replyCompleted
If Loc:NoRecords
RelatorioSemRegistro(p_web)
ElsIf not exists(loc:PDFName)
Loc:html = 'The Print procedure failed to create the PDF file ['&clip(loc:PdfName)&']'
p_web.ParseHTML(loc:html)
Else
p_web.SSV('loc:PDFName',loc:URL)
! p_web.ForceNoCache = 1
! p_web.ReplyContentType = p_web._GetContentType('.pdf')
! p_web._Sendfile(loc:PDFName)
End
End
p_web.SetProgress(loc:ProgressName,loc:URL)
End
and on filename of NetWebPage i use p_web.gsv('loc:PDFName'). now i´m receiving pdf but the tab text is 404 error
i can use it this way for while. but if anyone have some improvement, please let me know
thaks