an ODBC driver?
The Salesforce ODBC driver extends the number of applications that you can use Salesforce SOQL from. In this blog, we describe how to run SOQL statements from Crystal Reports by using our ODBC driver.
To get started:
Before you can use the Salesforce ODBC driver to connect your application to Salesforce, you need to configure an ODBC data source. An ODBC data source stores the connection details for the target database (in this case, Salesforce) and the ODBC driver that is required to connect to it (in this case, the Salesforce ODBC driver).
%windir%\syswow64\odbcad32.exe
Setting | Value |
---|---|
DSN | Salesforce |
User Name | The name of your Salesforce user. For example, myuser@mydomain.com . |
Password | The password for your Salesforce user. |
Token |
The security token for your Salesforce user, if required.
To find out whether you need to supply a security token, choose the Test button. If the connection attempt fails with an error which contains Salesforce emails the security token to the email address associated with your Salesforce user account. If you have not received a security token, you can regenerate it. Salesforce will then email the new security token to you. To regenerate your security token, log in to Salesforce and then choose Setup from the user menu. Search for "security token" in the Quick Find box. Choose Reset Security Token in the Reset Security Token page. When you receive the token in your email client, copy it and then paste it into the Token field. |
Using the Salesforce ODBC driver to access Salesforce data from Crystal Reports by using SQL generated with a wizard:
Using the Salesforce ODBC driver to access Salesforce data from Crystal Reports by using pass-through SQL:
SELECT Account.Name, (SELECT Contact.LastName FROM Account.Contacts)
FROM Account