Home Texas Server Home Page

Printed Report Object

Once the report has been written and tested locally, then we create an object for each print report, allowing for the registered methods to be called every time the TScript is executed. From the Texas Global Client main menu bar, a list of current print report objects can be obtained from "Command Centres->Printed Reports". To create a new object by pressing the "New" button.

From this dialog, a name is given to this print report and the name for the method created in the TScript file that is to be called. In the second tab, a list of all the Texas Methods that are to be called and passed as parameters to the method in the TScript file. Also you can select which Texas Methods are to be associated with this print object. The Statement tab lists the command to be executed after the TScript has completed successfully, typically if the TScript produces a pdf file, then the statement "AcroRd32.exe /s /p $(TempDir)\<name of file>.pdf" would be entered. Once the object has been created, there are two remaining File tabs, the one labelled "Files" is for all the files specifically for this print report and the "Library Files" tab lists all the shared files. Each file should have its type selected to "included" and "Texas Script" if it has the method to be called.

Once the newly created print report has been saved, it is now possible to test with live data be pressing the "Execute Print Report" button. This will download the required files from the server, called the selected Texas Methods then pass the results to the TScript before executing each statement to print the output.

Copyright © 2008, Ekky Software Pty Ltd.