PDA

View Full Version : Using NCReport with SQLCipher



SIFE
7th March 2012, 20:19
Is it possible to use NCReport with SQLCipher? I am now getting a message from it saying file is encrypted or is not a database.

ChrisW67
8th March 2012, 03:30
... then set the key on the database.

SIFE
12th March 2012, 17:02
... then set the key on the database.
it is not about setting key, rather then it is how to pass the connection name from application to the report engine.
In NCReport Designer, open your report, then go to Report menu, chose Data sources, you will find Connection ID in the middle, type your connection name, default connection name in qt is qt_sql_default_connection, in the second tab "Database connection", un-check Use private connection. Problem solved.