
Building Dashboards with Microsoft Dynamics GP 2016
By :

Excel has its own method of importing external data from a variety of sources, including data in the SQL Server. This method can be embedded directly in the workbook or stored in a separate file, the Office Data Connection (ODC) file. When this .odc
file is created, it can be reused over and over for a quick connection between your GP and Excel that is refreshable.
Let's create an .odc
file to bring in our vendors using these steps:
If you do not know the server or database names, consult your IT department or your GP Partner. Usually, the server name is the name of the machine on which the SQL Server is installed.
Vendors
. Click on Finish:The database name can be found in the upper-right corner on the Company Setup window in GP.
In the Excel Data Connection Wizard window, first, SQL Views are displayed in alphabetical order; then, SQL Tables are displayed in alphabetical order.
We'll find the location of the .odc
file we created earlier, with the spreadsheet still open. Follow these steps:
C:\Users\Belinda Allen\Documents\My Data Sources\cherry TWO Vendors.odc
. As you can see, the actual .odc
name is a combination of your server, your database, and the table/view you used for the connection:One of the great features of using an .odc
file is that once it is created, it can be used over and over again. Let's reuse the connection file we just created and follow these steps:
Note that you can also simply double-click on the file in Windows Explorer, which will open Excel and take you directly to the Import Data window.
Change the font size
Change margin width
Change background colour