Crystal reports files in a database

  • Thread starter Thread starter Brian Henry
  • Start date Start date
B

Brian Henry

For security reasons we want to put our crystal reports report files into a
database table called reports that can be access by people with the correct
permissions.. I know you can store files in a database, but can the crystal
reports viewer handle a file that was read back through the database as a
binary object? thanks!
 
Without using persistence interfaces, you can always write the report to a
temporary file with restricted access and delete it when you are done.
 
is there an example of how to store and read binary files in sqlserver
anywhere for vb.net? I am currently searching right now and haven't came
across a good one yet
 
Reading binary files? You can fetch a data blob into a byte array, then
write that array to disk using a stream and visa-versa (read into byte
array, store in blob field). Our software reads then bytes then uses an
ILockBytes interface to eventually (after lots of arsing about) get an
interface to the COM object that was stored in the DB, without having to
write it to disk first.
 
Back
Top