Reputation: 1
I have been trying to figure out a way to do this, hope someone can help me out.
I have a table populated in my database (MS Access). I know how to retrieve the data from the database but i want to say create a report which a user can print out in paper. I need to know how to add such an option.
It would be awesome if i get this solved!
Thanks!
Upvotes: 0
Views: 211
Reputation: 1059
You could save your report in a temp file, i.e. tempFile
, and then call:
Desktop.getDesktop().print(tempFile);
Upvotes: 1