How Does Report Composer Work?
Report Composer works by using the External Action Block facility of Gen as an API. The developer writes action diagram code to extract data from the database, and then passes it to an EAB to produce the report. The developer defines the EAB first, and generates the EAB stub using Gen. Report Composer then imports the stub, and from it learns the definition of the API and the object names from the Entity Relationship Diagram. Report Composer is then used to lay out the report with a design tool similar to the screen design tool in Gen. A consistency check is run, a target platform selected, and a new EAB source program is generated. It is this EAB source program that will create the report when called from the action diagram. The developer installs the EAB following standard procedures for any Gen EAB.