Default Avatar

Lorne

Lorne

About

Username
Lorne
Joined
Visits
5
Last Active
Roles
Members

Comments

  • gpi wrote: » gpi wrote: » I already tried that Show your code procedure TPrintPreviewFm.BtnPrintPageClick(Sender: TObject); begin frxPreview.Lock; MainView.frxReport.PrintOptions.PageNumbers := IntToStr(frxPreview.PageNo); if Y…
  • gpi wrote: » frxReport1.PrintOptions.PageNumbers := '2'; I already tried that - it does not work and get all pages printed whatever value I give to PageNumbers. Remember that I have already created the report and it is being viewed in a pre…
  • gpi wrote: » frxPreview1.Lock; frxReport1.Print; frxPreview1.UnLock; Many thanks for that - works perfectly and feels a much better solution than recreating the report. Is there a way to print one page from the report and keep the whol…
  • gpi wrote: » frxReport1.Preview := nil; frxReport1.PrepareReport(True); frxReport1.PrepareReport(False); frxReport1.PrepareReport(False); frxReport1.Preview := frxPreview1; frxReport1.ShowPreparedReport; Thanks - that does work but I am …
  • OK - I found the OnGetValue event and have worked out how to get the data and also found that RangeEndCount only works if you reset RangeEnd at the same time so I can do most of what I want. I have one annoying issue however - I want my output in…
  • doncht wrote: » doncht wrote: » 2. As a start I have successfully created a designer form that I could use for one report but got stuck when looking at how to transfer data to it. Every example I can find assumes data is in a database but mine…