first_page the funky knowledge base
personal notes from way, _way_ back and maybe today

Visual InterDev and Seagate Crystal Reports: Notes on Data Definition Files and the Convert Database Driver... Command

Crystal Web Reporting services have proven themselves to be somewhat "ok" in my Visual InterDev Solutions. My design uses an MTS package that provides data services to pass recordsets to Crystal Report objects. These objects are passed via very expensive (but required) Session-level object variables to the Viewer. (I am using Crystal's Java viewer by the way: it runs very slow on Netscape 4.x but "mysteriously" fast in IE 4.x.)

The Crystal *.RPT files must be prepared for this kind of service. These *.RPT files are made "server independent" with the use of Data Definition Files (.TTX files). Since I am working in a team environment on machines with different versions of Crystal Reports, I built a tool called the Crystal DDF Utility that can make .TTX files without running the Designer application. All this utility needs is database logon information a .TTX file to write to and SQL to generate a Recordset. You can find this utility in a self-extracting .CAB file at:

http://www.kintespace.com/kb/util/CrystDDF/CrystDDF.EXE

After the .TTX file is created, we need to prepare the .RPT file. Here is a summary of the steps involved:

WARNING: There is a bug involved with the Select Data Source dialog. It seems to only run once per 32-bit designer session. You may have to close and open the Designer application several times to prepare several reports.

mod date: 1999-04-23T03:48:30.000Z