[Migrated content. Thread originally posted on 28 November 2002]
I am trying to call Crystal Reports from my AcuCobol program using the Active-x Control and odbc data source. I have been moderately successful but have several questions. Has anyone out there done this, have sampe code, etc.Page 1 / 1
[Migrated content. Thread originally posted on 28 November 2002]
I am trying to call Crystal Reports from my AcuCobol program using the Active-x Control and odbc data source. I have been moderately successful but have several questions. Has anyone out there done this, have sampe code, etc.create @Application of craxddrt handle is hx-crapp.
modify hx-crapp @OpenReport (ws-fileid)
returning hx-crreport.
MODIFY hx-crreport PrintOut(0).
inquire hx-crreport PrinterName in my-str.
destroy hx-crreport.
destroy hx-crapp.
[Migrated content. Thread originally posted on 28 November 2002]
I am trying to call Crystal Reports from my AcuCobol program using the Active-x Control and odbc data source. I have been moderately successful but have several questions. Has anyone out there done this, have sampe code, etc.[Migrated content. Thread originally posted on 28 November 2002]
I am trying to call Crystal Reports from my AcuCobol program using the Active-x Control and odbc data source. I have been moderately successful but have several questions. Has anyone out there done this, have sampe code, etc.Yes, we do have customers using CR, however, I don't have those names at hand. This forum is as a matter of fact what is intended to bridge this.
Hopefully, some of these guys that already use it read this thread, or else, you may make a call to the Tech Support and ask if they would mind try to hook you up with some of those we know of. This latter, of course dependent that the other party will accept such a request.
Gisle
[Migrated content. Thread originally posted on 28 November 2002]
I am trying to call Crystal Reports from my AcuCobol program using the Active-x Control and odbc data source. I have been moderately successful but have several questions. Has anyone out there done this, have sampe code, etc.Yes, we do have customers using CR, however, I don't have those names at hand. This forum is as a matter of fact what is intended to bridge this.
Hopefully, some of these guys that already use it read this thread, or else, you may make a call to the Tech Support and ask if they would mind try to hook you up with some of those we know of. This latter, of course dependent that the other party will accept such a request.
Gisle
[Migrated content. Thread originally posted on 28 November 2002]
I am trying to call Crystal Reports from my AcuCobol program using the Active-x Control and odbc data source. I have been moderately successful but have several questions. Has anyone out there done this, have sampe code, etc.I'm using craxddrt20.dll to try to access Crystal Reports
The compiler accepts the line:
create @Application of craxddrt20 handle is hx-crysapp
but the next line:
modify hx-crysapp @OpenReport (ws-fileid)
gives me the error message:
undefined data item @OpenReport
there is an @OpenReport method in craxddrt20
does anyone have any ideas why this would happen?
Thanks!!
[Migrated content. Thread originally posted on 28 November 2002]
I am trying to call Crystal Reports from my AcuCobol program using the Active-x Control and odbc data source. I have been moderately successful but have several questions. Has anyone out there done this, have sampe code, etc.However, this sounds a bit familiar. If you are using crviewer in the same application, chances are that you are hit by a known bug. (Which is fixed though, for a later version)
Some controls, does not flag themselves as embeddable controls, it may be discussed who is right and who is wrong in this. But at least, we don't recognize them as embeddable controls. Which is true for the crviewer control. If you have this control embedded in your application as well, you should look up the def file for this control, search for: CLASS @CRVIEWER
Three lines down you will find:
PRIMARY-INTERFACE
DEFAULT-INTERFACE, "ICrystalReportViewer4"
The number at the end may vary, that is not important, what is important is that there is a line missing here, in between these two lines there should be a line: ACTIVE-X-CONTROL, so that it should look like this:
PRIMARY-INTERFACE
ACTIVE-X-CONTROL
DEFAULT-INTERFACE, "ICrystalReportViewer4"
Now, if you do this change and recompile, I would expect your application to run. If not, you will have to contact Tech support for further investigation.
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.