Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Crystal Reports RDC Verify Data Source

Posted on 2001-08-16
4
Medium Priority
?
533 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 300 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Suggested Courses

972 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