PC Review


Reply
Thread Tools Rate Thread

Crystal reports files in a database

 
 
Brian Henry
Guest
Posts: n/a
 
      24th Mar 2004
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!


 
Reply With Quote
 
 
 
 
Robin Tucker
Guest
Posts: n/a
 
      24th Mar 2004
Without using persistence interfaces, you can always write the report to a
temporary file with restricted access and delete it when you are done.


"Brian Henry" <brianiup[nospam]@adelphia.net> wrote in message
news:(E-Mail Removed)...
> 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!
>
>



 
Reply With Quote
 
Brian Henry
Guest
Posts: n/a
 
      24th Mar 2004
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

"Robin Tucker" <(E-Mail Removed)> wrote in
message news:c3sh1s$if4$1$(E-Mail Removed)...
> Without using persistence interfaces, you can always write the report to a
> temporary file with restricted access and delete it when you are done.
>
>
> "Brian Henry" <brianiup[nospam]@adelphia.net> wrote in message
> news:(E-Mail Removed)...
> > 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!
> >
> >

>
>



 
Reply With Quote
 
Robin Tucker
Guest
Posts: n/a
 
      25th Mar 2004
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.

"Brian Henry" <brian.henry[nospam]@adelphia.net> wrote in message
news:%(E-Mail Removed)...
> 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
>
> "Robin Tucker" <(E-Mail Removed)> wrote in
> message news:c3sh1s$if4$1$(E-Mail Removed)...
> > Without using persistence interfaces, you can always write the report to

a
> > temporary file with restricted access and delete it when you are done.
> >
> >
> > "Brian Henry" <brianiup[nospam]@adelphia.net> wrote in message
> > news:(E-Mail Removed)...
> > > 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!
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Does crystal reports always needs a database ? Rodo Microsoft C# .NET 4 23rd Apr 2007 06:58 PM
Crystal Reports Does Not Display BLOB Field Correctly in IBlobField Control Using Crystal Reports for VS.NET 2003 Jeff Microsoft Dot NET 0 4th May 2006 10:21 PM
Crystal Reports/SQL Database JoeK Microsoft VB .NET 0 16th Mar 2005 05:28 PM
Crystal Reports newbie question: binding single .NET WinForm to different reports files at runtime? Michael Microsoft Dot NET 0 23rd Apr 2004 08:56 PM
Crystal Reports newbie question: binding single .NET WinForm to different reports files at runtime? Michael Microsoft Dot NET Framework Forms 0 23rd Apr 2004 08:45 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:50 AM.