製品をチェック

ADP ODBC Driver の30日間無償トライアルをダウンロード

 30日間の無償トライアルへ

製品の詳細

ADP アイコン ADP ODBC Driver 相談したい

ADP ODBC Driver は、ODBC 接続をサポートするあらゆるツールからのシームレスなADP データ連携を実現します。

使い慣れたODBC インターフェースで、自由自在にADP データの読み、書き、更新を実行できます。

Viewing ADP データ in RAD Studio Data Explorer

How to view ADP データ in RAD Studio Data Explorer using the CData ODBC Driver for ADP.

最終更新日:2023-06-12

Embarcadero RAD Studio provides a development environment for Delphi and C++Builder applications. With the CData ODBC Driver for ADP, you gain access to live ADP データ within RAD Studio, abstracting the data into tables, views, and stored procedures that can be used to both retrieve and update ADP データ. This article will walk through connecting to ADP using the Data Explorer.

Configure a Connection to ADP

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.

ADP 接続プロパティの取得・設定方法

接続を確立する前に、ADP に連絡してOAuth アプリとそれに関連するクレデンシャルを提供してもらう必要があります。 これらのクレデンシャルはADP からのみ取得が可能で、直接取得することはできません。

ADP への接続

次のプロパティを指定してADP に接続します。

  • OAuthClientId:ADP より提供されたアプリのクライアントId に設定。
  • OAuthClientSecret:ADP より提供されたアプリのクライアントシークレットに設定。
  • SSLClientCert:ADP より提供された証明書に設定。
  • SSLClientCertPassword:証明書のパスワードに設定。
  • UseUAT:CData 製品はデフォルトで、本番環境にリクエストを行います。開発者アカウントを使用している場合は、UseUAT をtrue に設定します。
  • RowScanDepth:テーブルで利用可能なカスタムフィールドカラムをスキャンする行数の最大値。デフォルト値は100に設定されています。大きい値を設定すると、パフォーマンスが低下する場合があります。

Connecting to ADP データ Using Data Explorer

You can create a simple application for displaying ADP データ by utilizing the CData FireDAC Components for ADP and a new VCL Forms Application:

  1. Open the Data Explorer in RAD Studio and expand FireDAC.
  2. Right-click the ODBC Data Source node in the Data Explorer.
  3. Click Add New Connection.
  4. Enter a name for the connection.
  5. In the FireDAC Connection Editor that appears, set the DataSource property to the name of the ODBC DSN for ADP.
  6. Back in the Data Explorer, expand the tables for the connection.
  7. Create a new VCL Forms application and drag a table (for example: Workers) onto the form.

  8. Select the WorkersTable object on the form and set the Active property to true.
  9. Right-click on the object, bind visually, and link everything (*) to a new control (TStringGrid).

  10. Arrange the TStringGrid on the form and run the application to see the Workers data.

Related Articles

Below you can find other articles for using the CData ODBC Driver with RAD Studio, Delphi, and C++ Builder.

関連コンテンツ

トライアル・お問い合わせ

30日間無償トライアルで、CData のリアルタイムデータ連携をフルにお試しいただけます。記事や製品についてのご質問があればお気軽にお問い合わせください。