可以,用TClientDataSet,它不用BDE,而只要用MIDAS.DLL就可以了。
看帮助:
TClientDataSet is a dataset component designed to work without the connectivity support of the Borland Database Engine (BDE) or ActiveX Data Objects (ADO). Instead, it uses MIDAS.DLL, which is much smaller and simpler to install and configure. You don抰 use database or ADO connection components with client datasets, because there is no database connection.
Client datasets provide all the data access, editing, navigation, data constraint, and filtering support introduced by TDataset. However, the application that uses a client dataset must provide the mechanism by which the client dataset reads data and writes updates. Client datasets provide for this in one of the following ways:
Reading from and writing to a flat file accessed directly from a client dataset component. This is the mechanism used by flat-file database applications.
Reading from another dataset. Client datasets provide a variety of mechanisms for copying data from other datasets. These are described in Copying data from another dataset.
Using an IAppServer interface to obtain data from and post updates to a remote application server. This is the mechanism used by clients in a multi-tiered database application.
These mechanisms can be combined into a single application that employs the 揵riefcase model? Users take a snapshot of data, saving it to a flat-file so that they can work on it off-line. Later, the client application applies the changes from the local copy of data to the application server. The application server resolves them with the actual database, and returns errors to the client dataset for handling. For information building an application using the briefcase model, see Using the briefcase model.
The following topics provide more information about working with client datasets:
Working with data using a client dataset describes the support introduced by TClientDataSet for manipulating the data it stores in memory.
Using a client dataset with a data provider describes the properties, methods, and events that are specific to multi-tiered applications where a client dataset uses a provider component.
Using a client dataset with flat-file data describes the methods that support loading, saving, and creating flat-file data for a client dataset.