Solved

Crystal Reports RDC Verify Data Source

Posted on 2001-08-16
4
500 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
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…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

707 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now