November 2, 2005
Setting up an ODBC Data Source
For this reporting lesson, We will be connecting via ODBC, so we need to set up an ODBC connection.
From the administrative tools section, click on DataSources (ODBC). You should see the ODBC Data Source Administrator. In the ODBC Admin, you have a choice of making the connection a User Based, System Based, or File Based.
A User Based connection only works for this user and this machine. A System Based connection works for all users of this machine. A File Based connection will create a file on the network with the desired information, for all machines to use. For this example, we will be using a System based connection.
Please click on the System DSN tab, and then click the Add button.

The create New Datasource window will appear. For SQL Server, Scroll the Vertical Bar to the Bottom. Highlight SQL Server and Click Finish.

A create New Data Source window will appear under name place the name of the ODBC Connection, for my example it will be cnNorthwind. This is the name that will appear in the ODBC administrator. Next enter the name of the SQL Server which contains the database you are trying to access.

For my reporting tools, I make a standard practice to use a reporting account, in this case, we will call that account reporter. I use SQL Server authentication, and enter the reporter account and password. Click Next when finished.

Set the default database for this connection, to the desired database. I used the Northwind database.

Finally review the final page settings, make any desired configuration settings, otherwise click finish.

Now in the ODBC Administrator, you will see the new ODBC connection.

Congratulations, you have made your first foray into the world of ODBC connections. ODBC is a great tool for connecting databases to applications.
What do you do if when selecting a driver for the ODBC data source the SQL Server driver is not there to select?
Posted by: Ray at April 25, 2007 7:37 PMWhere in crystal reports or in the odbc admin?
Posted by: Elyse at April 26, 2007 8:32 AMFinally passed the test
Managing in light of McGregor's Theory X and Theory Y
CMMI
Kicking HIT Leadership Up a Notch
That's just some mumbo jumbo project management BS
Outcomes - The tactic to get to the strategy
Nurse Call, VOIP, and Wi-Fi: Its just cool when things come together!
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
December 2006
November 2006
August 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
November 2005
October 2005
September 2005
August 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
January 2004
December 2003
November 2003
October 2003
Joel on Software
David Ross
Edward Prevost
Martin Fowler
The Health Care Blog
The Tales of Hoffman
The Business Word
Medical Rants
Christina's Considerations
Paul Levy
HIS Talk
Appropriate IT
Candid CIO
RSS feed




