Solved Manipulate .qrp using qckrpt.apl and cReport class?

Discussion forum about all things Report Builder (all versions).
StefanM
Germany
Posts: 679
Joined: 10 Aug 2018, 15:57
Location: Bavaria

Manipulate .qrp using qckrpt.apl and cReport class?

Post by StefanM » 13 Jul 2021, 07:44

Hi,

I'm looking for a way to manipulate many .qrp files by writing a SQLWindows programm and accessing report objets using qckrpt.apl and cReport class. I want to get report header object, get all lines of header, get all data fields in a line and alter formatting, change field contents to report variable.

But the cReport class just seems to support creating a report, not altering a report. There are functions to create and attach a group/block/lines/data fields but not to *get* already existing report objects.

Any advice out there?

Thanks,
Stefan
Last edited by StefanM on 13 Jul 2021, 08:45, edited 1 time in total.

StefanM
Germany
Posts: 679
Joined: 10 Aug 2018, 15:57
Location: Bavaria

Re: Manipulate .qrp using qckrpt.apl and cReport class?

Post by StefanM » 13 Jul 2021, 08:42

Found solution myself:

You have to use ReportBuilder.apl

Happy coding...
Stefan

thomas.uttendorfer
Site Admin
Site Admin
Germany
Posts: 314
Joined: 05 Mar 2017, 17:19
Location: Munich Germany

Re: Manipulate .qrp using qckrpt.apl and cReport class?

Post by thomas.uttendorfer » 13 Jul 2021, 11:16

Hi Stefan,
you can do a lot with the reportbuilder API.
But as far as I know there are some limitations.
Some features can only be accessed manually in the editor.

Regards Thomas
Thomas Uttendorfer
[ frevel & fey ] Software-System GmbH
https://thomasuttendorfer.wordpress.com/

Return to “General Discussion Report Builder”

Who is online

Users browsing this forum: No registered users and 0 guests