CrystalReportViewer ReadOnly

Good Afternoon

Experts:

I am calling the CrystalReportViewer from my vb.net application and am running into a record locking issue.  When setting up the connection, how can I make it READONLY?  

I am using the ReportDocument as the ReportSource in the following line of code:
CrystalReportViewer.ReportSource = RD

So, I am looking at how to pass a setting to the Viewer as READONLY.  I thought I was onto something
with this:
CrystalReportViewer.LogOnInfo.IsReadOnly = True but that does not work since the Property IsReadOnly is ReadOnly.  

How can I tell the connection to be set as READONLY so my CrystalReports do not lock hundreds and thousands of records that don't need to be locked.

Thanks,
jimbo99999

Jimbo99999Asked:
Who is Participating?
 
mlmccConnect With a Mentor Commented:
I haven't run into the issue so I don't know if there is a way.

mlmcc
0
 
mlmccCommented:
Crystal should be opening it read-only.  Crystal doesn't have the ability to update the database.

mlmcc
0
 
mlmccCommented:
What version of Crystal?

mlmcc
0
 
Jimbo99999Author Commented:
Version 11

I am trying ot find the equivalent of running a SQL statement using with (nolock).  When running a report
with thousands and thousands of records Users are locking up other Users.  

Thanks,
jimbo99999
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.