各製品の資料を入手。
詳細はこちら →Viewing Zoho Inventory データ in RAD Studio Data Explorer
How to view Zoho Inventory データ in RAD Studio Data Explorer using the CData ODBC Driver for Zoho Inventory.
最終更新日:2023-06-12Embarcadero RAD Studio provides a development environment for Delphi and C++Builder applications. With the CData ODBC Driver for Zoho Inventory, you gain access to live Zoho Inventory データ within RAD Studio, abstracting the data into tables, views, and stored procedures that can be used to both retrieve and update Zoho Inventory データ. This article will walk through connecting to Zoho Inventory using the Data Explorer.
Configure a Connection to Zoho Inventory
If you have not already, first specify connection properties in an ODBC DSN (data source name). This is the last step of the driver installation. You can use the Microsoft ODBC Data Source Administrator to create and configure ODBC DSNs.
Zoho Inventory 接続プロパティの取得・設定方法
以下の接続プロパティを使用して、取得されるZoho Inventory データを正確に絞り込むことができます。
- Region:サーバーURL のトップレベルドメイン(TLD)。アカウントが米国以外のドメインにある場合は、リージョンを適宜変更してください。
- OrganizationId(オプション):接続先の特定のZoho Inventory 組織に関連付けられたID。
- Organization Id の値が接続文字列で指定されていない場合、ドライバーは利用可能なすべての組織を自動的に取得し、最初のOrganization Id をデフォルトとして選択します。
Zoho Inventory への認証
ドライバーはOAuth を使用して認証を行います。認証方法は、ヘルプドキュメントの「はじめに」セクションを参照してください。
Connecting to Zoho Inventory データ Using Data Explorer
You can create a simple application for displaying Zoho Inventory データ by utilizing the CData FireDAC Components for Zoho Inventory and a new VCL Forms Application:
- Open the Data Explorer in RAD Studio and expand FireDAC.
- Right-click the ODBC Data Source node in the Data Explorer.
- Click Add New Connection.
- Enter a name for the connection.
- In the FireDAC Connection Editor that appears, set the DataSource property to the name of the ODBC DSN for Zoho Inventory.
- Back in the Data Explorer, expand the tables for the connection.
Create a new VCL Forms application and drag a table (for example: Contacts) onto the form.
- Select the ContactsTable object on the form and set the Active property to true.
Right-click on the object, bind visually, and link everything (*) to a new control (TStringGrid).
Arrange the TStringGrid on the form and run the application to see the Contacts data.
Related Articles
Below you can find other articles for using the CData ODBC Driver with RAD Studio, Delphi, and C++ Builder.