Category: Knowledge Base

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

To add PDF’s before and after the output of a DataItem (for example: an invoice) you can use the Append and Prepend JavaScript functions using a BLOB field with the PDF as parameter. The PDF’s can be stored in any table with a BLOB field. However, the easiest way to do this is to use

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

Installing standard reports in ForNAV

Installing standard reports in ForNAV To install standard reports in ForNAV: In the Reports ForNAV Designer, click New, and in the Gallery select the ForNAV Report Pack. Alternatively, you can visit this website: http://bit.ly/ForNAVReportPack. NOTE The Gallery works on ForNAV 3.0.0.1279 and higher, and on Dynamics NAV 2016 and higher. Define the following four parameters:

Continue Reading