This ZIP file contains 3 avenue scripts
AttachToButton.ave: code that will launch a Crystal Reports template report from a button on the View or Table GUI rather than from the Report Wizard. Before running this script, first design and save a report as "TemplateReport.rpt". When this script is run, a new output report file will be created called "MyReport.rpt". Note that the database file (TemplateReport.dbf) has the same name as the TEMPLATE report.
LaunchEXE.ave: After you have created a Crystal Reports executable file, you can launch it from a button or menu in a View or Table document using this script. You will need to change the database file name and report EXE file name to meet your needs.
Add3D.ave: If you have ArcView 3D Analyst and want to include a refreshed snapshot of your 3D Scene, you can insert this avenue code before the System.Execute line in LaunchEXE.ave.
These avenue scripts are samples and will need to be modified with your own path names, database file names, and report names. You must have ArcView GIS Version 3.1 and Crystal Reports installed for these scripts to function properly. |