![]() |
VOOZH | about |
Embarcadero RAD Studio provides a development environment for Delphi and C++Builder applications. With the CData ODBC Driver for Sage 300, you gain access to live Sage 300 data within RAD Studio, abstracting the data into tables, views, and stored procedures that can be used to both retrieve Sage 300 data. This article will walk through connecting to Sage 300 using the Data Explorer.
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.
Sage 300 requires some initial setup in order to communicate over the Sage 300 Web API.
Authenticate to Sage 300 using Basic authentication.
You must provide values for the following properties to successfully authenticate to Sage 300. Note that the provider reuses the session opened by Sage 300 using cookies. This means that your credentials are used only on the first request to open the session. After that, cookies returned from Sage 300 are used for authentication.
You can create a simple application for displaying Sage 300 data by utilizing the CData FireDAC Components for Sage 300 and a new VCL Forms Application:
Create a new VCL Forms application and drag a view (for example: OEInvoices) onto the form.
๐ Placing the View on the Form. (Salesforce is shown.)Right-click on the object, bind visually, and link everything (*) to a new control (TStringGrid).
๐ Visually Binding the View. (Salesforce is shown.)Arrange the TStringGrid on the form and run the application to see the OEInvoices data.
๐ The View data on a Form. (Salesforce is shown.)Below you can find other articles for using the CData ODBC Driver with RAD Studio, Delphi, and C++ Builder.
Download a free trial of the Sage 300 ODBC Driver to get started:
Download NowLearn more:
๐ Sage 300 IconThe Sage 300 ODBC Driver is a powerful tool that allows you to connect with live data from Sage 300, directly from any applications that support ODBC connectivity.
Access Sage 300 data like you would a database - read, write, and update Sage 300 Invoices, Receipts, Refunds, etc. through a standard ODBC Driver interface.