Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Crystal Reports RDC Verify Data Source

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Suggested Solutions

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
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…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

791 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