[Migrated content. Thread originally posted on 02 November 2003]
We are attempting to interface our Acucobol product with Crystal Reports and someone has created a Visual Basic application to accomplish the interface. We can call the Crystal Viewer and display it ok, but we are having a problem passing parameters to and from a VB program, and neither of us knows why. The VB program is supposed to fill a table that we pass it, but when we pass it the empty table...it comes back empty.Attached is the VB program that we pass the one-dimensional table to, along with the Acucobol program that calls it and attempts read the table after the VB program fills it. Can anyone tell us what we are doing wrong? We don't have much previous experience with ActiveX/OLE programming.
In the VB program, the first character of each entry indicates the parameter type (Distinct, multiple, range), followed by the parameter name. We would append a '/' followed by each value, then the VB program can break it apart and process the parameters. It returns an integer that defines the length of the table.



