B4J Question ABMaterial NextReports

wangondu

Member
Licensed User
Longtime User
Hi AB,
My b4j nextreports is working well but am stucked how can i intergrate this one in my Abmaterial
 

Philip Chatzigeorgiadis

Active Member
Licensed User
Longtime User
I am not sure what you mean by "integrate this one in my Abmaterial".

Here is what I do:

I run the b4j nextreports and output the report as PDF.
Then I display the pdf file on the ABMPDFViewer.
 
Upvote 0

wangondu

Member
Licensed User
Longtime User
@Phillip thanks for i have done. my question is let say you have a button on ABMaterial page and you want the user to click on that button so that the report can be generated and be displayed on ABMPDFViewer.
 
Upvote 0

Harris

Expert
Licensed User
Longtime User
sysreports.jpg


Here is my module for reportsPage class (attached).
It produces the above image.

Reports are generated as PDF and output to the PDF viewer (which is cool).
Of course, you won't be able to run this code exact since it relies on my tables to fetch data, but it will show you how to make it work for yourself and give you some ideas...
 

Attachments

  • reportsPage.bas
    51.1 KB · Views: 379
Upvote 0
Top