ノーコードでクラウド上のデータとの連携を実現。
詳細はこちら →Excel FireDAC Component を使えば、Delphi & C++ Builder アプリケーションからExcel データに簡単に連携できます。 Easily connect Delphi & C++Builder Apps with real-time data from Excel spreadsheets. Use Excel to manage the data that powers your applications.
機能紹介
- Access Excel data either as an entire worksheet or from discrete ranges of data within a worksheet
- Represent discrete blocks of data as tables through automatic detection or by manually specifying ranges of data
- Optionally specify if the first row of data should be used for field names
- Read tables that are oriented horizontally or vertically
- Support for Excel XLSX file format, 2007 and above
- Connect to live Microsoft Excel data, for real-time data access
- Full support for data aggregation and complex JOINs in SQL queries
- Secure connectivity through modern cryptography, including TLS 1.2, SHA-256, ECC, etc.
- Generate table schema automatically based on existing Microsoft Excel data or manually for greater control of the content you need
Specifications
- Native FireDAC Components for Excel seamlessly integrate with RAD Studio
- Comprehensive support for CRUD (Create, Read, Update, & Delete)
- Full Unicode support for data, parameter, & metadata
- Support for 32-bit & 64-bit operating systems
- Requires Delphi, C++ Builder, or RAD Studio 10.2 Professional or higher
FireDAC Components
あらゆるデータソースにRDB と同感覚で連携が可能に
標準FireDAC Components
MySQL やSQL Server のようなRDBMS への接続と同感覚。 TDFManager、TDFConnection、TDFQueryUse といった標準FireDAC components として。
FDConnection1.Name := 'ExcelConnection'; FDConnection1.DriverName := 'CData.Fire.Excel'; with FDConnection1.Params as TFDPhysCDataExcelConnectionDefParams do begin ... end; FDConnection1.Connected := true; FDQuery1.Active := true; FDQuery1.Open('select * from ExcelSheet'); ...
Type SQL, Get Excel
データ連携アプリケーションを開発する最適解。 RDBMS の扱いと同感覚で、Excel への連携を、標準SQL で実装可能。JOIN、更新系、集計など多彩なSQL サポート。
SELECT WITH INNER JOIN
SELECT ExcelSheet.Id, ExcelSheet.Name, ExcelSheet.Fax, Opportunity.AccountId, Opportunity.CloseDate FROM ExcelSheet INNER JOIN Opportunity ON ExcelSheet.Id = Opportunity.AccountId
集計関数
SELECT Name, AVG(AnnualRevenue) FROM ExcelSheet GROUP BY Name
CRUD 処理
UPDATE ExcelSheet SET Name='John' WHERE Id = @myId