Jump to content

Open Form in new browser tab


andersonrsbezerra

Recommended Posts

I am calling the report as below. But I would like the report to be displayed in a new browser tab

  EngineOptions.SilentMode := True;
  EngineOptions.EnableThreadSafe := True;
  EngineOptions.DestroyForms := False;
  EngineOptions.UseGlobalDataSetList := False;

  PrintOptions.ShowDialog := False;
  ShowProgress := False;
  PreviewOptions.AllowEdit := False;

  frxPDFExport1.Background := True;
  frxPDFExport1.ShowProgress := False;
  frxPDFExport1.ShowDialog := False;

  frxPDFExport1.FileName := UniServerModule.NewCacheFileUrl(False, 'pdf', 'Orçamento-'
  +UniMainModule.qOrcamento.FieldByName('ORCAMENTO_ID').AsString, '', AUrl);
  frxPDFExport1.DefaultPath := '';

  PrepareReport;
  Export(frxPDFExport1);
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...