本文整理自网络,侵删。
procedure GetTableNames(const ACatalogName, ASchemaName, APattern: string; AList: TStrings; AScopes: TFDPhysObjectScopes = [osMy]; AKinds: TFDPhysTableKinds = [tkSynonym, tkTable, tkView]; AFullName: Boolean = True);FDCon_Excel.GetTableNames('', '', '', cbx_ExcelSheets.Items, [osSystem], [tkTable], False);要留意参数: AScopesAFullName 给 False即可, 如果为 True-则前面会带上EXCEL文件的全文件名――――――――――――――――原文链接:https://blog.csdn.net/lsl221/article/details/54631026 相关阅读 >>
Delphi 2009 之 tstringbuilder 类[5]: chars[] 属性与 copyto 方法
Delphi getsys32path()得到系统system32路径
Delphi 10.3 调试程序时出错:unable to create process:请求的操作需要提升
更多相关阅读请进入《Delphi》频道 >>