Language:

HansaManuals

Creating a Report Using the Report Generator
Creating a Report Generator Report - Specifying the Primary Register
Creating a Report Generator Report - The Appearance of the Report
Creating a Report Generator Report - Choosing a Print Destination
Creating a Report Generator Report - The Width of the Report Window
Creating a Report Generator Report - Printing the Report
Creating a Report Generator Report - Adding White Space
Creating a Report Generator Report - Adding Searches
Creating a Report Generator Report - Adding a Secondary Register
Creating a Report Generator Report - Using Variables and Formulae
Creating a Report Generator Report - Printing Information from Matrices
Creating a Report Generator Report - Bringing Information in from Other Registers
Creating a Report Generator Report - Page Breaks
Creating a Report Generator Report - Filtering Records (Print If)
Creating a Report Generator Report - Adding Check Boxes to the Specification Window
Creating a Report Generator Report - Adding Radio Buttons to the Specification Window
Creating a Report Generator Report - Searching for Records within a Period
Creating a Report Generator Report - Break Points, Subtotals and Totals
Creating a Report Generator Report - Blocks
   - Multi-Row Blocks
   - Single Record Blocks (Printing Information in the Report Header)
Creating a Report Generator Report - Syntax
Creating a Report Generator Report - Useful Functions
Example Reports - Listing Sales Figures
Creating a Report Generator Report - Common Error Messages

Tutorials for Standard Accounts

Creating a Report Generator Report - Common Error Messages

This page lists some of the more common errors you may encounter when designing a report.
Co_typ_match with unknown types
The [Check] button will display this error if you try to print a variable using a Formula with the wrong Data Type. Usually, the variable will be a time or date and the Data Type in the Formula will be Value. The Data Type should be String for time and date variables.

You will also see this error if you hard-code a date or time in a function in a line of Code or Formula without enclosing the date or time in inverted commas. For example, the following Formula with incorrect syntax will generate this error:
DateDiff(01/01/2008,vrInvoice.InvDate);

The correct syntax is:

DateDiff("01/01/2008",vrInvoice.InvDate);

Field without a set
You will be shown this message by the [Check] button if you have placed a field in the Report Header or Report Footer sections. You cannot place fields in these sections.

Got STRING wanted VAL
The [Check] button will display this error if you try to print a variable using a Formula with the wrong Data Type. Usually, the variable will be a string and the Data Type in the Formula will be Value. The Data Type should be String for string variables.

Invalid name
The [Check] button will give you this message if you have added a non-existent field to the 'Layout' card of the report, or used a non-existent field somewhere on the 'Data' card. The most usual cause is that you have attempted to add some text to the report output, but have used the [Field] button instead of the [Text] button by mistake. Remember too that field names are case-sensitive.

Mark something first
When adding an element of any kind to the 'Layout' card, you must first select the section or Line where the element is to appear. If you do not select a section or Line, you will be given this message.

Symbol in illegal context
The [Check] button will give you this message if you use an undeclared variable in a line of Code. If you have declared the variable, you will also be given this message if the variable name contains only one character or more than 20 characters.

Unknown symbol
The [Check] button will give you this message if you use an undeclared variable in a Formula or a Print If condition. If you have declared the variable, you will also be given this message if the variable name contains only one character or more than 20 characters.
---

Creating a Report Generator Report:

Go back to: