Solved

Crystal Reports RDC Verify Data Source

Posted on 2001-08-16
4
502 Views
Last Modified: 2012-05-04
I have a report which I'm running in the RDC, I want to Verify On Every Print. How do I do it? and what and where do I write the code?
           Thx Roni.
0
Comment
Question by:ronim
  • 3
4 Comments
 
LVL 12

Expert Comment

by:DRRYAN3
ID: 6393259
You can use the following code in VB:

Dim crApp As New CRAXDRT.Application
Dim crRep As CRAXDRT.Report
' load a standalone report created in the designer
Set crRep = crApp.OpenReport("c:\samples\standalone.rpt")
CRViewer1.EnableExportButton = True
CRViewer1.ReportSource = crRep

' Here is the line you asked about
crRep.VerifyOnEveryPrint


' print preview
CRViewer1.ViewReport


DRRYAN3
0
 
LVL 12

Expert Comment

by:DRRYAN3
ID: 6393718
Typo,

crRep.VerifyOnEveryPrint

should be

crRep.VerifyOnEveryPrint = true



0
 
LVL 12

Accepted Solution

by:
DRRYAN3 earned 75 total points
ID: 6412048
ronim

I'll assume my suggestion answered your question.  Posting as an answer to take this question out of the open topics area.  If you need additional information, post a comment.  Ideally, you'll accept my answer so this question can be PAQ'd

DRRYAN3
0
 

Expert Comment

by:ComTech
ID: 6494451
I agree, and will accept for DRRYAN3.

Thank you,
ComTech
Community Support Moderator
0

Featured Post

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question