Has anyone used the Crystal reports .NET interface to run, print and export a Crystal report from a COBOL program? If so, I'd appreciate any suggestions, sample code, pointers or other advice. Thanks in advance!
Has anyone used the Crystal reports .NET interface to run, print and export a Crystal report from a COBOL program? If so, I'd appreciate any suggestions, sample code, pointers or other advice. Thanks in advance!
Hi Walter
I used Crystal Reports about 10 years ago with Visual Studio 2005. Unfortunately Crystal Reports is not part of Visual Studio anymore. Therefore I cannot run my solution anymore. What Version are you using or do you have a separate licence?
Freundliche Grüsse
Werner Lanter
Has anyone used the Crystal reports .NET interface to run, print and export a Crystal report from a COBOL program? If so, I'd appreciate any suggestions, sample code, pointers or other advice. Thanks in advance!
I don't know how to access .NET assemblies from COBOL on Windows, I am the beginner on that.
But if you know about how to access .NET assemblies from COBOL, then it is not a big deal to integrate Crystal Report.
From .NET, there are 2 ways to use Crystal Report.
One is pulling method, the other is pushing method.
Pulling method is a little simple, you design Crystal Report with SQL Query and Data Source, saved them in rpt file. When you run the report, rpt file will pull data automatically from database and generate the report.
Pushing method is, you design the report with .NET dataset object. no SQL Query and Data Source saved with rpt file. When you run the report, you need to get the data from .NET code first, then push data into rpt file and generate the report.
I will suggest using pulling method at beginning. later on you might need to figure out how to get .NET dataset in COBOL and pass it into rpt file when using pushing method.
Has anyone used the Crystal reports .NET interface to run, print and export a Crystal report from a COBOL program? If so, I'd appreciate any suggestions, sample code, pointers or other advice. Thanks in advance!
I don't know how to access .NET assemblies from COBOL on Windows, I am the beginner on that.
But if you know about how to access .NET assemblies from COBOL, then it is not a big deal to integrate Crystal Report.
From .NET, there are 2 ways to use Crystal Report.
One is pulling method, the other is pushing method.
Pulling method is a little simple, you design Crystal Report with SQL Query and Data Source, saved them in rpt file. When you run the report, rpt file will pull data automatically from database and generate the report.
Pushing method is, you design the report with .NET dataset object. no SQL Query and Data Source saved with rpt file. When you run the report, you need to get the data from .NET code first, then push data into rpt file and generate the report.
I will suggest using pulling method at beginning. later on you might need to figure out how to get .NET dataset in COBOL and pass it into rpt file when using pushing method.
Has anyone used the Crystal reports .NET interface to run, print and export a Crystal report from a COBOL program? If so, I'd appreciate any suggestions, sample code, pointers or other advice. Thanks in advance!
Using EXEC ADO is a comfortable possibility to create a DataSet with Visual Cobol.
Has anyone used the Crystal reports .NET interface to run, print and export a Crystal report from a COBOL program? If so, I'd appreciate any suggestions, sample code, pointers or other advice. Thanks in advance!
Sorry for English, translated by google.
I use Crystal Reports a long time and not use database, what I do is to create a .csv file (delimited;) and create also a arquino schema.ini where I set all the columns that are in this .csv create my .rpt and use a program in c # to submit the report as it was unable to make the call CR .NET Cobol.
I downloaded a version of the CR for Visual Studio 2015 but do not know why Visual Cobol does not make the call CR. As I said before I decided with a program in Visual C #
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.