Prerequisite Database Setup: Note Northwind Is A Sample Database Provided With SQL Server
The document provides instructions for creating a report in Visual Studio that draws data from the Northwind sample database in SQL Server. It requires configuring SQL Server for SQL authentication, installing the Northwind database, and creating a limited access account. The steps then guide setting up a connection to the Northwind database and using a report wizard to build a report displaying customers grouped by city.
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
76 views
Prerequisite Database Setup: Note Northwind Is A Sample Database Provided With SQL Server
The document provides instructions for creating a report in Visual Studio that draws data from the Northwind sample database in SQL Server. It requires configuring SQL Server for SQL authentication, installing the Northwind database, and creating a limited access account. The steps then guide setting up a connection to the Northwind database and using a report wizard to build a report displaying customers grouped by city.
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2
To begin, create a report that draws its information from the Northwind database.
Note Northwind is a sample database provided with SQL Server.
Some setup is required as a prerequisite to this tutorial. Prerequisite Database Setup 1. SQL Server configuration: If you have SQL Server (or the OEM version, MSDE) installed, it must be configured to require SQL Server Authentication. If you do not have SQL Server (or the OEM version, MSDE) installed, you must install MSDE with SQL Server Authentication set to "True." 2. The Northwind database provided with SQL Server must be installed and verified that it requires SQL Server Authentication. 3. A limited access account must be created for use within the Web site. To install MSDE with SQL Server Authentication, or the Northwind database, go to the following sections from System Setup in this documentation: MSDE Installation with Windows or SQL Server Authentication Northwind Database Installation Security: Creating a Limited Access Database Account Once you have configured SQL Server and the Northwind database according to the sections above, you are ready to create a report that draws its information securely from a Northwind database. To create a report with secure data from the Northwind database Note This procedure works only with a project that has been created from Project Setup. Project Setup contains specific namespace references and code configuration that is required for this procedure, and you will be unable to complete the procedure without that configuration. Therefore, before you begin this procedure, you must first follow the steps in Project Setup. 1. In Solution Explorer, right-click the project name that is in bold type, point to Add, and then click Add New Item. 2. In the Add New Item dialog box, in the Templates view, select the Crystal Report template. 3. In the Name field, enter the name "NorthwindCustomers.rpt", and then click Open. Note If you have not registered before, you may be asked to register. To find out how to register, see Crystal Reports Registration and Keycode. 4. In the Create New Crystal Report Document panel of the Crystal Reports Gallery dialog box, select Using a Report Wizard. 5. In the Choose an Expert panel, select Standard. Click OK. The Standard Report Creation Wizard window appears. 6. In the Available Data Sources panel, expand the Create New Connection folder. 7. From the subfolder that opens, expand the OLE DB (ADO) folder. The OLE DB (ADO) window appears. 8. Select Microsoft OLE DB Provider for SQL Server, and then click Next. 9. Enter the values for your database server, user id and password into the Server, User ID and Password fields. 10. From the Database drop down list, select "Northwind." Leave the Integrated Security checkbox unchecked because you are using SQL Server authentication instead of NT authentication. 11. Click Finish. The OLE DB folder is now expanded, showing your database server, and within it, the Northwind database. 12. Expand the nodes Northwind, dbo, and Tables, and then select the Customers table. 13. Click the > symbol to move the table into the Selected Tables panel, and then click Next. 14. Expand the Customers table, and then hold down the Ctrl key while you click CompanyName, ContactNameand City. 15. Click the > symbol to move these fields into the Fields to Display panel, then click Next. 16. In the Available Fields panel, under Report Fields, select Customer.City, then click the > symbol to move the field into the Group By panel, and then click Finish. The NorthwindCustomers report is created and loaded into the main window of Visual Studio.
Knight's Microsoft Business Intelligence 24-Hour Trainer: Leveraging Microsoft SQL Server Integration, Analysis, and Reporting Services with Excel and SharePoint
ActiveReports Allows You To Create Master Detail Reports With Grouping by Using The GroupHeader and Detail Sections To Contain Data From Master Files and Detail Files