Using BDE

From RAD Studio
Jump to: navigation, search

Go Up to How To Perform Database Procedures


Warning: The Borland Database Engine (BDE) has been deprecated, so BDE will not be enhanced. For instance, BDE will never have Unicode support. You should not undertake new development with BDE. Consider migrating your existing database applications from BDE to dbExpress. For information about migrating from BDE to dbExpress, see http://www.embarcadero.com/rad-in-action/migration-upgrade-center.

To use BDE

  1. Choose File > New > Other. The New Items dialog box opens.
  2. In the New Items dialog, select Delphi Projects and double-click VCL Forms Application. The Windows Designer displays.
  3. From the BDE category of the Tool Palette, drag a TTable component to the form. This will encapsulate the full structure of data in an underlying database table.
  4. From the BDE category of the Tool Palette, drag a TQuery component to the form. This will encapsulate an SQL statement and enables applications to access the resulting records.
  5. From the BDE category of the Tool Palette, drag a TStoredProc component to the form. This will execute a stored procedure that is defined on a database server.
  6. From the BDE category of the Tool Palette, drag a TBatchMove component to the form. This will copy a table structure or its data.
  7. From the BDE category of the Tool Palette, drag a TUpdateSQL component to the form. This will provide a way to update the underlying datasets.

See Also