Jump to content
We've recently updated our Privacy Statement, available here ×

Decrypting information shown in a report


theloder

Recommended Posts

 Hello,

I've started using iReport to issue reports on my Final project in JAVA. Due to language issues in the transfer between the datebase I'm using (Microsoft Access) and JAVA  I have written methods to encrypt and decrypt information passed between them. I couldn't figure out how to intergrate these methods in the report.
can anyone point out how to do this? thank you!

Example:

text in access is: 123

when I read the information from the Access database ,to a label for example, I do so like this: jLabel1.setText(translate.fromAccess(DBConnection.getByID(id)));

and the result shown is abc.

this is just an example to make it easier for you to understand!

Thanks again :)
 



Post Edited by theloder at 06/12/2010 11:10
Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...