B4J Question Using jjasperreports with uncanaccess

lumbanico

Member
Hello:

I'm trying to print a report using the jjasperreport library with data of a MS Access database.

To access to data i use the ucanaccess library, and it works properly.

By i don't konw how to connecto with de jasperreport. I am doing with:

B4X:
jasper.getConnectionAccess("c:\data.mdb")

How I should do it? Thanks in advance
 

DarkoT

Active Member
Licensed User
Hi,
have you checked the library from b4j - jJasperReports?


I think you need just to combine path and filename for acces... Like this:

Example:
    jasper.getConnectionAccess(File.Combine(File.DirApp, "jasperTest.db"))
 
Last edited:
Upvote 0
Top