FDConnection
利用FDConnection获取信息,不用放query控件也可以。
FDConnection1.GetTableNames('', '', '', List);
FDConnection1.GetTableNames('', '', '', List, [], [tkView]);
FDConnection1.GetFieldNames('', '', 'Orders', '', List);
FDConnection1.ConnectionMetaDataIntf.GetTables([], [tkTable], '', '', '').Rows[0].GetData(0);