Recent

Author Topic: [SOLVED] fpreport: prettifying tabular data  (Read 1280 times)

PierceNg

  • Sr. Member
  • ****
  • Posts: 398
    • SamadhiWeb
[SOLVED] fpreport: prettifying tabular data
« on: March 04, 2024, 04:56:07 am »
Hi all,

I'm a fpreport newbie. I've gotten my program to generate PDF from data fetched from database. Now I want to prettify the report, like drawing tables containing the data with thin/thick borders, alternating background colors, font styling, etc.

What demos should I look at?
« Last Edit: March 06, 2024, 12:55:30 pm by PierceNg »

af0815

  • Hero Member
  • *****
  • Posts: 1381
Re: fpreport: prettifying tabular data
« Reply #1 on: March 04, 2024, 06:36:04 am »
fpreport have IMHO not a lot of samples. You can look in the fpc source directory, where fpreport resides. And some samples where in the samples of lazarus.
regards
Andreas

PierceNg

  • Sr. Member
  • ****
  • Posts: 398
    • SamadhiWeb
Re: fpreport: prettifying tabular data
« Reply #2 on: March 06, 2024, 12:55:02 pm »
I figured it out by looking at the demos.

paweld

  • Hero Member
  • *****
  • Posts: 1278
Re: [SOLVED] fpreport: prettifying tabular data
« Reply #3 on: March 06, 2024, 01:17:05 pm »
I once made something like the one in the attachment, maybe you will find it useful
Best regards / Pozdrawiam
paweld

PierceNg

  • Sr. Member
  • ****
  • Posts: 398
    • SamadhiWeb
Re: [SOLVED] fpreport: prettifying tabular data
« Reply #4 on: March 07, 2024, 02:36:31 am »
I once made something like the one in the attachment, maybe you will find it useful

Thank you. It is helpful.

 

TinyPortal © 2005-2018