![]() |
VOOZH | about |
The CData ODBC Driver for Microsoft Dataverse can be used from any platform or development technology that supports ODBC, including PowerBuilder. This article shows how to connect to Microsoft Dataverse data and execute queries from the Database Painter and controls such as the DataWindow.
CData provides the easiest way to access and integrate live data from Microsoft Dataverse (formerly the Common Data Service). Customers use CData connectivity to:
CData customers use our Dataverse connectivity solutions for a variety of reasons, whether they're looking to replicate their data into a data warehouse (alongside other data sources)or analyze live Dataverse data from their preferred data tools inside the Microsoft ecosystem (Power BI, Excel, etc.) or with external tools (Tableau, Looker, etc.).
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.
You can connect without setting any connection properties for your user credentials. Below are the minimum connection properties required to connect.
When you connect the Common Data Service OAuth endpoint opens in your default browser. Log in and grant permissions. The OAuth process completes automatically.
Follow the steps below to use the Database Painter tool to create a database profile based on an ODBC DSN (data source name) for Microsoft Dataverse. In the Database Painter, you can use wizards and the UI to work with Microsoft Dataverse data.
You can use standard PowerBuilder objects to connect to ODBC data sources and execute queries. The following example shows how to retrieve Microsoft Dataverse data into a DataWindow. You can add the following code to the open method:
SQLCA.DBMS = "ODBC" SQLCA.DBParm = "ConnectString='DSN=CData CDS Source'" CONNECT USING SQLCA; dw_accounts.SetTransObject(SQLCA); dw_accounts.Retrieve();
Download a free trial of the Microsoft Dataverse ODBC Driver to get started:
Download NowLearn more:
👁 Microsoft Dataverse IconThe Microsoft Dataverse ODBC Driver is a powerful tool that allows you to connect with Microsoft Dataverse, directly from any applications that support ODBC connectivity.
Access Microsoft Dataverse like you would a database - access entities through a standard ODBC Driver interface.