Skip to content

OCX Errors

The following table shows all errors that can be generated by the DataFlex Reports OCX.

Error# Text Notes
-128 Function '%s' is not supported in filter functions.
-127 Array variable has %s dimensions.
-126 Variable '%s' is not an array.
-125 No dimensions specified for array variable '%s'.
-124 Array index for dimension %s out of bounds.
-123 Unary operator '%s' not allowed on operand.
-120 External Library Function error: '%s'.
-119 Can't load function: %s.
-118 Can't load library: %s.
-117 Maximum number of iterations reached. Infinite Loop?.
-116 Recursive functions not allowed.
-115 Incompatible types.
-114 Symbol already defined: %s.
-113 Invalid date value: %s.
-112 Invalid parameter value in function: %s.
-111 Division by zero.
-110 Too many arguments in function: %s.
-109 Required argument missing in function: %s.
-108 Symbol '%s' not defined.
-107 Operator '%s' not allowed on operands.
-106 Type error. Invalid type.
-105 Syntax error. Invalid command: '%s'.
-104 Out of memory.
-103 Token error. The tokenizer returned a non-terminal.
-102 Comment error. Missing '*/'.
-101 Syntax error. Invalid symbol: '%s'.
-100 No error information available.
-52 Could not embed XML file
-49 Report engine is busy
-48 Cannot open RDS database.
-47 Crosstab is too wide to fit on page.
-46 Invalid database connection for object: '%1' in section '%2'
-45 Cannot create Excel sheet '%1'
-44 Cannot create PDF file. Please check path and filename and make sure the PDF isn't already opened.
-43 The report output is not PDF/A compatible.
-42 Cannot use SQL() function; the driver does not support SQL.
-41 Cannot use Stored Procedure; SP does not return any columns.
-40 Cannot use SQL statement; SQL statement does not return any columns.
-39 Cannot add table; table does not have any columns.
-38 Cannot group or sort on Memo or Binary columns.
-37 Cannot paste Crosstab object.
-36 Barcode
-35 Cannot paste objects from reports.
-34 Cannot paste objects from pagelayers.
-33 Cannot paste chart object.
-32 Cannot paste object, the parameter %1 already exists in this report.
-31 Cannot paste object, invalid parameter used in object %1.
-30 Cannot paste object, the function %1 already exists in this report.
-29 Cannot paste object, invalid function used in object %1.
-28 Cannot paste object, the column %1 does not exist in the database of this report.
-27 Cannot paste object, invalid column used in object %1.
-26 Barcode %1
-25 A custom date mask requires an even number of quotes.
-24 Cannot display embedded image, out of memory.
-23 Could not create export file %1.
-22 Error in collate file - missing 'CP' command. Version 4, 5, 6 and 7
-21 The collate file does not match the currently selected ANSI codepage - current ANSI codepage %1. Version 4, 5, 6 and 7
-20 Error in collate file - invalid command on line %1, column %2 %3. Version 4, 5, 6 and 7
-19 Error in collate file - invalid parameter on line %1, column %2 %3. Version 4, 5, 6 and 7
-18 Cannot open dr.db.
-17 Invalid function name specified in record sort.
-15 Invalid column name specified in record sort.
-14 Invalid column name specified in filter.
-13 Invalid column value in row %1, column %2; skipping record.
-12 Incorrect number of columns in row %1; skipping record.
-11 Report was created with a newer version of DataFlex Reports, you need to get an updated version of the DataFlex Reports runtime.
-10 Report was created with an older version of DataFlex Reports, please open the report in DataFlex Reports Designer and save the report.
-9 Not a valid DataFlex Reports report or the report file is damaged.
-8 The report appears to be damaged. Please check the data source used in the report.
-6 Invalid df_collate.cfg.
-5 Cannot open language.db.
-4 Insufficient memory.
-3 Could not export to PDF.
-2 Could not export image.
-1 Could not allocate memory.