|
The problem is mainly due to the fact that several units have not been added. In this example interface, you can see.
interface
{By removing the 'x' which begins each of these compiler directives,
you can enable different functionality within the end-user reporting
solution.
DADE-the data tab where queries can be created by the end-user
BDE-BDE support for the Query Tools
ADO-ADO support for the Query Tools
IBExpress-Interbase Express support for the Query Tools
RAP-the calc tab, where calculations can be coded at run-time
(RAP is included with ReportBuilder Enterprise)
CrossTab-adds the CrossTab component to the component palette in the
report designer.
CheckBox-adds a checkbox component to the component palette in the
report designer.
TeeChart-adds a teechart component to the report designer component
palette. You must have TeeChart installed. More information
is available in ..\RBuilder\TeeChart\ReadMe.doc
UseDesignPath-determines whether the path used by the Database
object on this form is replaced in the OnCreate event handler of
this form with the current path.}
{$ DEFINE DADE} {remove the 'x' to enable DADE}
{$ DEFINE BDE} {remove the 'x' to enable Borland Database Engine (BDE)}
{x $ DEFINE ADO} {remove the 'x' to enable ADO}
{x $ DEFINE IBExpress} {remove the 'x' to enable Interbase Express}
{$ DEFINE CrossTab} {remove the 'x' to enable CrossTab}
{x $ DEFINE RAP} {remove the 'x' to enable RAP}
{x $ DEFINE CheckBox} {remove the 'x' to enable CheckBox}
{x $ DEFINE TeeChart} {remove the 'x' to enable standard TeeChart}
{x $ DEFINE UseDesignPath} {remove the 'x' to use the design-time settings of Database object on this form}
uses
{$ IFDEF DADE}
daIDE,
{$ ENDIF}
{$ IFDEF BDE}
daDBBDE,
{$ ENDIF}
{$ IFDEF ADO}
daADO,
{$ ENDIF}
{$ IFDEF IBExpress}
daIBExpress,
{$ ENDIF}
{$ IFDEF CrossTab}
ppCTDsgn,
{$ ENDIF}
{$ IFDEF RAP}
raIDE,
{$ ENDIF}
{$ IFDEF CheckBox}
myChkBox,
{$ ENDIF}
{$ IFDEF TeeChart}
ppChrtUI,
{$ ENDIF}
Add these few. That's it.
(Note: it has been tested and has a data page. If you still don't understand, please look at the examples.) |
|