Solved

Crystal Reports RDC Verify Data Source

Posted on 2001-08-16
4
513 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
[X]
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
  • 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

There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
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…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

710 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