Matias Scardia
Matias Scardia

Reputation: 87

Passing java query result to fields / UCanAccess Compatibility

I have really low knowledge on Java and JasperReports, barely used those to play around, nothing too serious. A friend of mine has been trying to get someone to develop him an application that will generate PDFs with information from an access database for each of his clients, however, after 6 months and 7 developers who ditched him, he has found none, so he asked me if I could help him to which I said I'd give it a try.

What I have been able to do so far:

So far I've managed to successfully (Everything has been done separately, I have like 8 projects in total so far):

Questions:

Now, after a few days on Google up and down I havnt managed to successfully achieve everything that I'd like to achieve, and I'd love if someone could either point me into good noob-proof guides or (if willing) provide a noob-proof answer so I can continue to move on.

I feel like I've made a decent amount of progress so far, but since I am no pro on either JasperReports nor Java, I am getting stuck in a point where more knowledge is required to create a more decent and practical piece of software and I'd love if someone could point me into a better direction (Either if something is impossible or just a few links to help me get thru)

Upvotes: 0

Views: 752

Answers (1)

jamadei
jamadei

Reputation: 1710

-Remeber to add ucanaccess jar and all dependencies jars in the Driver Classpath, while creating the Data Adapter

-You have to set Showschema=true: e.g.

jdbc:ucanaccess://c:/db/database.accdb;Showschema=true

In this way Jasper Studio will be able to navigate the metadata of your database, and you'll find your tables under the PUBLIC schema. Then you'll be able to create your reports as usual.

Upvotes: 1

Related Questions