简体   繁体   中英

No TTable Component in Delphi XE8

I think the title speaks for itself, I can't find a TTable component in Delphi XE8. The functions SetKey and GotoNearest are not part of ADO, therefore the following code with a TADOTable does not work:

with tblCandidates do
begin
  SetKey
  FieldByName('Surname').AsString := edtSearch.Text;
  GotoNearest;
end;

My assumption is that you are asking how to find the BDE TTable component. Well, there is no such thing any more. From the XE7 What's New :

BDE Removed

BDE, our oldest database solution, has reached the final stage of deprecation, and has been removed from RAD Studio. This includes the Bde.DBBdeWeb and Bde.DBTables units. Instead, use newer database technologies such as FireDAC. For migration, see Migrating BDE Applications to FireDAC.

If you need to continue using BDE, an external installer is available on the Registered Users site: http://cc.embarcadero.com/myreg

The BDE help remains in the XE7 help.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM