fastreport frxpreview实现窗口显示

  frdbdataset1.dataset := qry_for_headpage;

  frReport1.Clear;
  frReport1.LoadFromFile(WPath+'住院病案.frf');
  // frReport1.PrepareReport;
  //frReport1.ShowPreparedReport;
  frReport1.preview := frPreview1;
  frReport1.ShowReport;

你可能感兴趣的:(fastreport,frxpreview)