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