Renaming a Table

From RAD Studio
Jump to: navigation, search

Go Up to Using BDE-enabled datasets Index

Note: The Borland Database Engine (BDE) has been deprecated, so it 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.

To rename a Paradox or dBASE table at run time, call the table's RenameTable method. For example, the following statement renames the Customer table to CustInfo:

Customer.RenameTable('CustInfo');
Customer->RenameTable("CustInfo");

See Also