Skip to main content

How can you call the export method in Crystal Reports RDC OLE Interface

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

Crystal report has a COM Interface (RDC) that allows you to generate reports from an application.

How do you call the export method from COBOL?

Resolution:

The export method is called from VB as follows:-

    myreport.export false

In COBOL you can perform this using:-

01  boolval    pic x comp-x value 0.

move 0 to boolval   *> Sets to false

invoke myrdcreport "export" using by value boolval

Old KB# 1399