Category: Knowledge Base

Installing the Service Tier Add-in

To run the ForNAV reports, you must have the ForNAV DLL on your NAV service tier. The service tier is the machine that runs the NAV server process that users connect to. On a service tier machine, the NAV service is typically installed in your program files folder. The add-in folder is a subdirectory to

Continue Reading

Working with ForNAV reports in the Custom Report Layouts window

This Knowledge Base article is relevant when using Microsoft Dynamics NAV/Business Central and C/SIDE development environment only. To take full advantage of the ForNAV Converter and the ForNAV Designer, you must have a Microsoft Dynamics NAV developer license – either the “Application Builder” or the “Solution Developer”. This is due to restrictions in Microsoft licensing

Continue Reading

Windows 10 build 1709 Fall Creators Update

When Microsoft released the Windows 10 Fall Creators Update in late 2017, the ForNAV Designer began to freeze occasionally when using the property window. The freeze typically happened when using properties with a drop-down value selector. A fix for this problem was introduced in Reports ForNAV version 3.0.0.1335. Keywords: fornav designer, freeze, hangs, crash  

Continue Reading

Using Device Fonts

Label printers or virtual printers (Fax, document capture, etc.) sometimes need text printed out with a special font that is not a real font, in order to control the printer. These fonts are called device fonts. To set a device font in a control in the ForNAV Designer: Add the statement CurrControl.DeviceFont = “<device font

Continue Reading

Paper Trays, Paper Bins, Paper Sources

The paper tray selection (also called the paper bin or the paper source) in ForNAV reports can be controlled with the following function call: C/AL: ReportForNav.PrinterSettings. PaperSource(<TrayNo>,<PageNo>); JavaScript: CurrReport.PrinterSettings. PaperSource(<TrayNo>,<PageNo>);     With the special cases: PageNo = 0: Default PageNo = -1: Last page     You can also still set up the paper

Continue Reading

Print Logos on Document Reports

The default for printing the logo on ForNAV document reports is to only print the logo when printing to PDF or doing a preview To always print the logo, you must change the PrintLogo function on the OnPreReport JavaScript event from: function PrintLogo() {   if (CurrReport.PrinterSettings.PrintTo==’PDF’) {     return true ;   }  

Continue Reading

New functions on Dataitem tables

string GetCaption() – returns the caption of the table int GetOptionValue(string ExternalFieldName) – returns the value of an option as integer string GetFilter(string ExternalFieldName) – returns a field filter string GetFilters() – returns the table filter CalcFields(ExternalFieldName1[,ExternalFieldName2,..]) – calculates the value of calc fields on a record SetAutoCalcFields(ExternalFieldName1[,ExternalFieldName2,..]) – autocals the value of calc fields

Continue Reading

Prepending and appending PDF files to a ForNAV report

Today, ForNAV already has the capability to merge a report with one or more PDFs when using the Bullzip PDF printer:  https://www.fornav.com/knowledge-base/how-to-add-a-pdf-document-to-a-sales-invoice/ However, this method is limited to creating PDFs and not printing directly to a printer. In addition, the PDFs can only be inserted before or after an entire report and not before or

Continue Reading

Installing objects in ForNAV ISV granule area

When installing the ForNAV objects in the ForNAV ISV granule (6188500 Reports ForNAV) area, you are not able to import a txt-file unless you already have the objects in your database. Below you will find “blank” ForNAV objects for NAV 2016, NAV 2017, NAV 2018 and Business Central. You need to import these into your

Continue Reading

Upgrading to a new ForNAV version

This will show you how to upgrade your existing ForNAV reports to run on a newer ForNAV version. If you receive a new version for ForNAV, you often want your existing ForNAV reports to run on the new version. This can be done in two different ways depending on how many of your reports you

Continue Reading