hi, I'm using Delphi 2007.
after I write a Sql into SmartQuery, when i clicked UpdatingTable property from object inspector, it finds table list in this sql and shows this list to me in comboBox list.
How can the SmartQuery find this list, I want to get this list too, Is there any procedure or funtion which get this list? how can I get this list.
TSmartQuery UpdatingTable List
You can use the following code:
Add CRAccess to USES.
Code: Select all
var
TablesInfo: TCRTablesInfo;
i: integer;
Name: string;
begin
TablesInfo := TDBAccessUtils.GetIRecordSet(OraQuery1).TablesInfo;
for i := 0 to TablesInfo.Count - 1 do
Name := TablesInfo[i].TableName;
end;