Jet Reports Installation Guide
Jet Reports Installation Guide
Version 4.0.7
Page 1 of 27
Copyright Jet Reports, Inc.
All Rights Reserved
2.
3.
4.
Copy your Jet License file (*.jlf) into the c:\Program Files\JetReports directory.
5.
If your name appears as a designer in the Jet Reports license file, check your user name in Excel to make
sure it matches the Jet license file exactly.
6.
7.
8.
9.
a.
If you are using Excel 2002 or later, activate the Jet Reports Addin from Start/All Programs/Jet
Reports.
b.
If you are using Excel 2000, activate the Jet Reports Addin from the Excel/Tools/Addins menu.
Determine the name and type (Navision Native or SQL) of your Navision Server.
b.
Verify that your current Navision license file is present in your client directory and is named
[Link].
c.
Determine the name of your SQL Server and the name of the database that contains your company
data.
b.
Verify that your SQL server login matches your Great Plains login.
c.
If you want to use Jet Reports Friendly Names for the tables and fields, verify that the system
administrator has run the Great Plains Friendly [Link] program.
If you are using any other database type (i.e. FoxPro, Oracle, etc):
a.
Determine if there is an OLE driver written specifically for your database and install it
b.
If you are using a MS SQL Server based database, the OLE driver for MS SQL is already
installed.
c.
If there are no OLE drivers available, locate and install an ODBC driver for your database.
10. Open Excel, click the Jet/Options/Data Sources menu and configure your Jet Reports Data Source.
11. Check your Jet menu in Excel and confirm that you have a designer or viewer menu as appropriate.
12. Locate and read the Jet Reports User Guides located in your Start/All Programs/Jet Reports menu.
13. Enjoy using Jet Reports!
Page 2 of 27
Copyright Jet Reports, Inc.
All Rights Reserved
Contents
Quick Installation Guide.................................................................................................................................................2
How to Read This Guide.................................................................................................................................................2
Install Prerequisite Software...........................................................................................................................................5
Jet Reports with a Navision Connector.......................................................................................................................5
Review Navision Security (Navision)....................................................................................................................5
Jet Reports with a Universal or Great Plains Connector.............................................................................................6
Install Jet Reports (All Databases)..................................................................................................................................6
Upgrading from Prior Versions of Jet Reports............................................................................................................6
Jet License Files (All Databases)....................................................................................................................................6
Activate Jet Reports (All Databases)..............................................................................................................................7
Configuring Jet Reports (All Databases)........................................................................................................................8
General Options Screen..............................................................................................................................................8
Default Data Source................................................................................................................................................9
Simulate Viewer Mode...........................................................................................................................................9
Cache Formula Results...........................................................................................................................................9
Show Report Run Time...........................................................................................................................................9
Local Database Warning.......................................................................................................................................10
Show Designer......................................................................................................................................................10
Auto Debug...........................................................................................................................................................10
Jet License file path..............................................................................................................................................10
Auto Import Options.............................................................................................................................................10
Data Sources Screen..................................................................................................................................................11
Configuring a Navision Data Source Type...............................................................................................................11
Configuring the Universal and Great Plains Data Source Types..............................................................................14
Configuring the Data Link Properties (Universal and Great Plains)........................................................................15
Provider Tab..........................................................................................................................................................15
Connection Tab.....................................................................................................................................................15
Advanced and All Tabs.........................................................................................................................................16
Configuring Jet Reports for [Link].......................................................................................................16
Verifying your Designer/Viewer Status (All Databases)..............................................................................................17
Changing the Default Installation Options (All Databases).........................................................................................18
Navision Specific Configuration Options.....................................................................................................................18
Using a Navision Language Module.........................................................................................................................18
Advanced Options Configuration.............................................................................................................................21
Updating Navision Drilldown Forms........................................................................................................................21
Updating the Advanced Designer.............................................................................................................................22
Jet Reports 4.0.7 Installation
Page 3 of 27
14 December 2005
Copyright Jet Reports, Inc.
All Rights Reserved
Page 4 of 27
Copyright Jet Reports, Inc.
All Rights Reserved
Excel 2002 or later to use large arrays. Excel 2000 with the latest service packs is OK if arrays with less than
10,000 elements are sufficient or if you dont use the array features of Jet Reports.
Navision C/FRONT.
If you intend to run multiple versions of Navision concurrently, Windows 2000 or later is required.
You must install a Navision client and C/FRONT, which is included in later versions of the SDK. In early versions
of C/FRONT, proper installation requires copying files from the Navision client directory to the C/FRONT
directory. Follow the C/FRONT installation instructions for the version you are installing to make sure C/FRONT
will work with Jet Reports. Ideally, you should use exactly the same version of C/FRONT as your Navision server
and client software. Since Navision often releases minor version changes, the best way to insure you have the same
version is to use the same CD for C/FRONT that you used to install the rest of your Navision software.
A Navision License file that permits C/FRONT must be saved as [Link] in the Navision Client program folder.
This is the same folder in which you find [Link]. You must copy the Navision License file to each workstation
that will run Jet Reports. This is a requirement of C/FRONT, not Navision Client so if you do not copy the license
file to each machine, Jet Reports will not be able to connect to the database even if Navision Client works perfectly.
If you want to use the drilldown feature of Jet Reports, you must be using version 3.01b or later of the Navision
executables. If you use objects prior to version 3.01b you may need to update the drilldown forms as explained in
the below section on the configuring Jet Reports. To use drilldown, both Jet Reports and the Navision client must
connect to a database server. Both the Navision and the SQL server options are supported. The drilldown feature
is not compatible with local databases so if you try to use drilldown while connected to a local database, you may
experience problems.
Page 5 of 27
Copyright Jet Reports, Inc.
All Rights Reserved
You will need to install the OLE or ODBC software for your database. Jet Reports will run faster using OLE
drivers than ODBC drivers so we recommend that you search for an OLE driver even if you already have an
ODBC driver installed.
For database installations that use MS SQL Server (including Great Plains), your computer already has an OLE
driver for MS SQL Server avaliable so you only need to select it while configuring your conection.
If you want to use Friendly Names in Great Plains, someone with database administrator privlidges should run
the Great Plains Friendly [Link] program. This operation is detailed in a separate section.
Page 6 of 27
Copyright Jet Reports, Inc.
All Rights Reserved
If you have a Navision Connector, your Jet license file has the same name as your Navision license number with a
.JLF extension.
If you have a Universal Connector, your license file name is the Jet Reports license number. The name should end
in U and have a .JLF extension.
To Activate Jet Reports using the Excel Tools Menu, do the following:
Page 7 of 27
Copyright Jet Reports, Inc.
All Rights Reserved
From the Add-Ins menu, select Browse to find the [Link] file. This file is in your Jet Reports
installation folder which, during installation, defaults to C:\Program Files\Jet Reports.
When you select OK, Jet Reports will be added to your Excel Add-Ins. The Jet menu selection is added to the main
Excel menu bar.
Page 8 of 27
Copyright Jet Reports, Inc.
All Rights Reserved
Page 9 of 27
Copyright Jet Reports, Inc.
All Rights Reserved
Show Designer
The Show Designer option allows you to choose whether or not you would like the Jet Reports Designer window to
be displayed each time you go into design mode by selecting Jet/Design.
Auto Debug
When Jet Reports has finished updating your report after you select Jet/Report, it will now automatically find the
first cell in your report worksheet that contains #Value and run the debug function to attempt to give you an error
message explaining the source of the #Value. This feature is equivilent to the Jet/Debug menu option except that it
happens automatically. The default value for this feature is After Report Generation. Do not change this option to
Disabled unless you are willing to use the Debug feature on the Jet menu.
Page 10 of 27
Copyright Jet Reports, Inc.
All Rights Reserved
Use Type to specify whether you are connecting to a Universal Data Source, Navision-Server, Navision-SQL Server,
or a Navision-Local database. If your database was created by any program other than Nabision, you will need to
use the Universal Data Source type and skip down to the Configuring the Universal Data Source Type section of this
document.
Page 11 of 27
Copyright Jet Reports, Inc.
All Rights Reserved
If the database is local, enter the size of the database cache in Local Cache Size. A larger cache will improve
database access speed, but may slow down your computer if you make it too large.
Choose whether to use Windows or Database authentication with Authentication. Your choice here is dictated by
how your Navision database is configured. If you are not sure, check with your IT staff or with your Navision
Solution Center.
If you choose Database, you can enter a User ID and Password. If you leave either of these fields blank, the user
will be prompted for database login credentials when they attempt to connect. Although the password is encrypted,
the encrypted password could be used to gain access to Navision data through Jet Reports. Encrypted passwords are
stored in exported options files and in the registry.
Enter the company name that you will use the most in Default Company. Use the Company button to select the
company name. Clicking the company button opens a connection to the database, so it is one way to test some of
your data source information.
If you have more than one version of Navision on your computer, you may need to specify the folder that contains
the [Link] program for the version of Navision that corresponds to the version of the database or server you are
trying to access.
For local Navision databases, you can specificy the Navision license file to use in Local Navision License File. For
Servers, the license file is on the server and can not be over-ridden.
Jet Reports 4.0.7 Installation
14 December 2005
Page 12 of 27
Copyright Jet Reports, Inc.
All Rights Reserved
If you are using a customized Analysis View table that includes G/L quantities, enter the field for the quantity in
Analysis View Quantity Field. You can read more about this option in the below section called Supporting Quanities
in the G/L.
The Language Code and Language Module Folder options are detailed below.
Once all the other options are entered, Click the Test Connection button to verify that all data source options are
correct. You will receive a message that you are licensed as a Viewer or a Designer. Make sure that this message
correctly reports your status. If you think you should be a designer and the message says you are a Viewer, check
your license file by clicking Display Jet License. Make sure your name is spelled correctly in the License File and
that your name in the license file matches your name in Excel.
Page 13 of 27
Copyright Jet Reports, Inc.
All Rights Reserved
The Drilldown Record Limit sets the maximum number of records that Jet Reports will display when you use the
drilldown feature. Increasing the limit will increase the amount of time Jet Reports takes to display the drilldown
form.
Some databases are case sensitive with respect to field and table names queries. This means that if you enter
Customerid in Jet Reports and the actual field name is CustomerID, some databases will give you an ambiguous
error message. When the Case Sensitive Names option is turned on, Jet Reports will check the table and field names
that you enter to make sure they have the correct case before querying the database. If you have entered Customerid
and should have entered CustomerID, Jet Reports will direct you to your error. If you turn this option off, you may
get ambiguous error messages if your database has case sensitive names.
If you have selected the Great Plains type, you will have the option to change Table and Field name format in the
Designer. This option will only work correctly if you install the Friendly Table/Field name feature in Great Plains as
described in a section below. There are four options for formatting the Table and Field names: Friendly, Physical,
Friendly (Physical) and Physical (Friendly). For the Friendly and Friendly (Physical) options, the Jet Designer will
display the Friendly names and sort by Friendly Name. This can be useful if you are searching for a Friendly name.
When you drag and drop a field onto Excel, Jet Reports will give you formulas and column headings based on the
Friendly names. For the Physical and Physical (Friendly) options, the Jet Designer will sort the names by Physical
name so the tables will all be grouped together by category. For example the GL tables all start with GL so they are
all grouped together. When you drag and drop a field onto Excel, Jet Reports will give you formulas and column
headings based on the Physical names.
Jet Reports 4.0.7 Installation
Page 14 of 27
14 December 2005
Copyright Jet Reports, Inc.
All Rights Reserved
If you want to know how many records are in each table in your database, you can select the Show Record Count
option. The Designer will count of the number of records in each table and display it after the table name. This
option may not work properly on all OLE drivers.
If you only want to list those tables that have data in them, you can turn on Omit Empty Tables. Most people only
use a small fraction of the tables that exist in their database and using this option makes the list of tables in the
Designer much easier to use. This option may not work properly on all OLE drivers.
If you would like to treat null values and blank values equivalently in your database, set the Blank Filter Return
Nulls option to Yes.
If you would like to specify a timeout period when connecting to your database you can do so in the Command
Timeout text box.
Provider Tab
The provider tab allows you to select the OLE DB Provider that matches your database.
There are many cases where you have several possible options for connecting to your database. One good example
of having several valid connection options is MS Access. The Jet OLE DB Provider and the OLE DB Provider for
ODBC Drivers will both allow direct connection to an Access database file. Likewise, there is an Oracle OLE DB
Provider as well an SQL OLE DB Provider, and both of those database types allow ODBC connections. In general,
if you can use a direct OLE connection instead of ODBC, your connection will run faster. The OLE DB Provider
for ODBC Drivers also requires that you separately configure an ODBC connection to your database.
Connection Tab
Once you have selected your data provider, (see previous topic) click the Next button or click on the Connection tab.
Shown below are the connection tabs for Microsoft OLE DB Provider for ODBC Drivers on the left and the
Microsoft Jet 4.0 OLE DB Provider on the right.
Jet Reports 4.0.7 Installation
14 December 2005
Page 15 of 27
Copyright Jet Reports, Inc.
All Rights Reserved
On the Connection tab, you can specify where your data is located and how to connect to it. The fields displayed on
this tab depend upon the OLE DB Provider selected. For example, if you select the OLE DB Provider for Oracle,
the Connection tab displays fields for the server name and login. If you select the OLE DB Provider for SQL
Server, then the server name, type of authentication, and database must be furnished.
In most cases, once you have configured the Connection tab, you can click the Test Connection button to determine
if Jet Reports can connect to your database. If your database connection works you will get the following message.
Page 16 of 27
Copyright Jet Reports, Inc.
All Rights Reserved
If you are licensed as a Designer and you do not get the Designer menu, there are two common problems.
If Jet Reports does not have a properly configured database Data Source or cannot find its license file, you will not
get a Designer menu. You can test the integrity of your data source configuration by clicking the Test Connection
button on the Jet/Options/Data Sources screen. You should receive a message that you are licensed as a Viewer or a
Designer. If there is a connection problem, you will get an error message related to the cause of the problem. If you
have multiple data sources, you must have at least one that is correctly configured.
If your user name in Excel does not match your name in the Jet Reports license file exactly, you will not get a
Designer menu. To verify that your name is entered in Excel correctly, click the Display Jet License button from the
Jet/Options/Data Sources screen. If you scroll down, you should see a list of designer names. Your name here needs
to match your Excel user name, which you can find in Excels Tools/Options/General screen.
Jet Reports 4.0.7 Installation
14 December 2005
Page 17 of 27
Copyright Jet Reports, Inc.
All Rights Reserved
From Object Designer, click the Table button and then select all tables by clicking the square in the top left corner of
the Table list. You can also choose the menu option Edit/Select All.
Page 18 of 27
Copyright Jet Reports, Inc.
All Rights Reserved
Page 19 of 27
Copyright Jet Reports, Inc.
All Rights Reserved
Next enter the three letter language code in the data sources Language Code field.
Instead of placing all Language Modules in the language subfolder of the Navision Client Program Folder, you can
place them in a common network folder and put the path to that folder in the Langauge Module Folder field of the
data source.
Jet Reports will first look in the folder specified in the Language Module Folder for the language module file. If you
dont specify a language module folder, it will look in the language subfolder of the Navision Client Program Folder.
Then it will look in the Langauge subfolder of the Jet Reports program folder.
Page 20 of 27
Copyright Jet Reports, Inc.
All Rights Reserved
The Jet Reports program Language subfolder is shipped with exported language modules from the country specific
version of Navision 3.60 for the following languages:
ENU English United States
ENC English Canada
ISL Icelandic
DAN Danish
DEU Germany
ESP Spanish
NDL Dutch
From here you can update your Navision drilldown forms and update the Advanced Designer capabilities. Both of
these operations require an exported Navision Object text file, which may require the assistance of your Navision
Solution Center.
Page 21 of 27
Copyright Jet Reports, Inc.
All Rights Reserved
After the tables are exported, make sure that Update Drilldown Forms is selected in the Advanced Options
window, select the exported text file, and click Update. The drilldown forms will be updated on a per data source
basis.
In order to perform the operations described above, follow this procedure:
In Navision:
1. Open Navision and select Tools/Object Designer.
2. Select the table for which you would like to update the drilldown form, and click Design.
3. Scroll to the bottom of the list of fields and select the first line that does not currently contain data.
4. Select View/Properties, then click on the Value field for the DrillDownFormID Property.
5. Click on the up arrow, and select the appropriate form.
6. Close the Properties window and the Table Designer, and select Yes when asked if you would like to save.
7. With the name of the updated table still selected, select File/Export.
8. In the Save as Type drop-down menu, select Text Format.
9. Save the file to the directory of your choice.
In Jet Reports:
1.
2.
3.
4.
5.
6.
You should now be able to drill down on that table from your Jet Report.
3.
In Jet Reports:
4.
5.
6.
Select Jet/Options, go to the Data Sources tab, and select Advanced Options.
Select the text file youve just exported from Navision using the Browse button.
Select the location in which you would like the Advanced Designer schema file to be saved using the Select
button.
7. Make sure Update Advanced Designer is selected, and click Update.
8. Two files will be created in the location you specified: <Data Source Name> [Link] and <Data
Source Name> [Link]. You will want to take note of the location of these files in order to configure
Jet Reports 4.0.7 Installation
Page 22 of 27
14 December 2005
Copyright Jet Reports, Inc.
All Rights Reserved
additional machines without having to run the update again (in which case you would follow Scenario B, as
described below).
Scenario B:
1. Select Jet/Options, go to the Data Sources tab, and select Advanced Options.
2. Select the directory that contains your Advanced Designer schema file (*.add) using the Select button.
Note that in order for the Advanced Designer Help functionality to work properly, this directory must also
contain the associated Help schema file (<Data Source Name> [Link]).
3. Make sure that Update Advanced Designer is NOT selected, and click Update. You will not need an
exported Navision Object Text file to perform this action, though if you have Update Drilldown Forms
selected you will still be prompted for one before being allowed to continue.
4. The data source will be updated to refer to the Advanced Designer and Help schema files in the location
you specified.
In order to use the Advanced Designer make sure that Advanced Designer is selected in the Designer Options
window.
Page 23 of 27
Copyright Jet Reports, Inc.
All Rights Reserved
Jet Reports provides example modified objects in [Link] in the Jet Reports program directory (C:\Program
Files\Jet Reports by default). These objects are examples only and should not be directly imported into your
database. These examples are probably not fully compatible with your version of Navision.
Page 24 of 27
Copyright Jet Reports, Inc.
All Rights Reserved
Integer
VarChar
Primary Key:
FPG, JETNAME
Description:
JETTMAP maps the existing table name to a Friendly Name and Group.
JETTMAP table definition:
Fields:
FPG
TFN
Type:
Integer
Primary Key:
FPG, TFN
Description:
Number uniquely
identifying the Friendly
Name Group.
TPN
VarChar
VarChar
JETFMAP maps the existing field name to the table it is on as well as the Friendly Name and Group.
JETFMAP table definition:
Fields:
FPG
TPN
FFN
FPN
Type:
Integer
Primary Key:
TPN,FPG,FFN
Description:
Number uniquely
identifying the
Friendly Name
Group.
VarChar
VarChar
VarChar
Table name as
defined in the
database. (Actual
table name.)
Friendly Field
Name.
Field Name as
defined in the
database.
(Actual field
name.)
Once these three tables have been added and populated with your desired Friendly Names you will be able to use
either Friendly or Actual names in your Jet Reports.
Page 25 of 27
Copyright Jet Reports, Inc.
All Rights Reserved
C:\ProgramFiles\JetReports\GreatPlains\[Link]
haveconfiguredaGreatPlainsdatasourceinJetReportsandhaveyourGreatPlainsapplicationopen.
[Link]
addedtoyourdatabase.
ClickContinue.
ChoosetheJetReportsGreatPlainsdatasourceforwhichyouwouldliketoaddFriendlyNames.
ChoosetheGreatPlainsProductforwhichyouwouldliketoaddFriendlyNames.
ClickAddNamesandtheutilitywillrun.
Page 26 of 27
Copyright Jet Reports, Inc.
All Rights Reserved
YouwillneedtoruntheutilityforeachGreatPlainsProductforwhichyouwantFriendlyNames.
Oncetheutilityisfinished,configureyourGreatPlainsdatasourcetouseFriendlyNames.(SeetheConfiguring
JetReportssectionfordetails.)
Page 27 of 27
Copyright Jet Reports, Inc.
All Rights Reserved