ado是可以做报表的。
你的问题应该不是“delphi 5中做报表,用ADO控件为什么不行”。ADO和一般的数据源一样用的,没有区别的。
你的问题应该是"d5中做报表,用ADO控件,为什么还要BDE"。
你做报表是用了quick report 吧。
report builder 有个DBPipeline可以不要BDE的。
来自"ReportBuilder Developer's Guide"
DBPipeline
Used for accessing data via third party BDE replacement products or TDataSet descendants. The DBPipeline is connected via the DataSource property.
The Borland Database Engine (BDE) is what Delphi uses to access desktop and client/server databases. However, there are a number of BDE replacement products available. ReportBuilder's DBPipeline can be used with these products or any database that supports Delphi's TDataSource. Some of the more popular Delphi database add-on products used by our customers are listed below.
Advantage
by Extended Systems Provides access to .DBF files. Desktop and high performance Client/Server versions available.
ReportBuilder allows the Advantage TDataSet descendant to plug in directly. The high-performance, low maintenance features of the Advantage Database Server and the extremely well designed architecture of ReportBuilder make this combination an excellent client/server reporting solution.
Apollo
by Luxent Software Provides access to .DBF files.
Flash Filer
by Turbo Power Software Compact database written in Object Pascal.
Opus
by Opus Software GmbH Provides access to MS Access database files.
Titan
Reggatta Systems, Inc. Several products are offered that provide access to BTrieve, MS Access, and SQLAnywhere.
ODBC Express
by DataSoft Pty. Provides ODBC access without the overhead of the BDE.
ODBC98
by Kosta Corriveau Provides ODBC access without the overhead of the BDE.
InfoPower
by Woll2Woll Software Data access components used to filter, search etc. Although not a database engine like the products above, the components are widely used by Delphi developers everywhere.