Serious Error Messages

Serious error messages are produced to highlight an error in the way the program has been set up. Code will still be produced, but the program may not behave as intended.

Error 1. Attempting to change prime key of record. Field ignored.

Cause: A key field is set up allowing the record to be modified after it is defined (either as an input field or by assigning a formula)
Action: If you take no action to remove the field, the field is ignored or is treated as a display only field

Cause: A non key field is defined before the key field
Action: Change the field numbering in the Map Editor to make the key field the first field, then regenerate the field processing

Error 2. Clashing non database fields named field name found

Cause: A local field has been defined twice with different types
Action: If the fields are to be treated as the same field, make sure they have the same type and size definition.

If the fields are intended to be different, rename one of the local fields

Error 3. Insufficient fields processed to validate table table name

Cause: Validation is specified for a table, but insufficient fields are specified for an access to take place
Action: Add all the necessary fields to the map and then regenerate the field processing

Cause: The Generate parent checks option was selected in a procedure where not all tables require validating
Action: Delete table processing for related tables that are not used

Error 4. Validation mode for table table name should be 'Check parent on db'

Cause: Join parent from db was selected for a table where this validation mode cannot be used
Action: Change the validation mode to Check parent on db

Error 5. Invalid table field combination in paged choice map. Field will not be displayed

Cause: A multiple choice item map processes fields that cannot be joined from the table concerned
Action: Define the fields correctly

Error 6. Syntax error in formula not corrected. Formula not compiled

Cause: Invalid syntax in formula
Action: Amend the syntax of the formula and recompile. If you take no action, the formula is ignored

Error 7. Missing map mapset name Nr

Cause: The mapset has been edited since the program was last compiled and the specified map is missing
Action: Add a map with the specified number or edit the program to specify a different map number

Cause: If the procedure has been moved or copied, and the mapset name was left blank (to indicate the current mapset), a map with the specified number may not exist
Action: Copy a map or create a new one with the missing map number

Error 8. Illegal menu option number. Option cannot be selected

Cause: A non menu procedure was changed to a menu procedure and the options are not numbered correctly
Action: Edit the link options to change the order of the menu procedures

Error 9. Formula/Condition Nr Nr not set up or missing

Cause: The formula or condition with the specified number has not been set up
Action: Add a formula or condition with the specified number to the procedure or select No formula/condition

Error 10. Attempting to open a second print device. Attempt ignored

Cause: Only one logical device can be selected for a program
Action: Where a second printer is to be used, set up the second device as a subdevice of the logical device. Set up the procedure body as type Subdevice output

Error 11. No table processing set up for database procedure. Procedure treated as non database procedure

Cause: The question Database procedure? was left as Yes, and so QA Build expects table processing
Action: If no action is taken, the procedure will be treated as if it does not access the database

Error 12. Can't find field field name to total into. Totalling ignored

Cause: The local field to total into has not been set up yet
Action: Add a local field for totalling into, and for the output of the result

Error 13. Offering scans in procedure without any map. User cannot know what he is selecting

Cause: If the search method Scan if no match is used, a map must be set up to allow the user to select a record
Action: If user interaction is required, add a map to display the fields. If user interaction is not required, specify the Exact match, Next match or Previous match search methods

Error 14. Missing field description number

Cause: A table has been deleted from the database or the program has been transferred from an incompatible database
Action: Remove references to the field

Cause: The database may have become corrupt
Action: Run a DBCHECK on the database

Error 14. Field number number too big (Maximum is )

Cause: Fields that are input or displayed must be processed in mapfields 0 99. Somehow you have bypassed this restriction during set up
Action: Process the field in a valid mapfield

Error 15. No or missing procedure body for procedure procedure name

Cause: A procedure body was not set up for a procedure or it has been deleted using QABUTIL
Action: Add a procedure body to the procedure

Error 16. Predefined variable variable name has datatype datatype and not datatype

Cause: Where field processing is set up for a standard variable, the data type is not selected correctly
Action: Modify the data type in field processing

Error 17. Field has illegal internal reference

Cause: This error is caused by a bug within earlier versions of the Program Editor
Action: You can usually solve the problem by going into the Program Editor and selecting the problematical procedure body and then Field Processing, then Exit. If the error remains, contact ITIM Solutions for help on removing the problem

Error 18. %option command not recognised in run another program command command

Cause: An invalid program command option has been specified
Action: Edit the program command option in the Program Editor and select a valid option

Error 19. Missing table field table name field name

Cause: as for FATAL ERROR 5
Action: as for FATAL ERROR 5

Error 20. %%option varname not character variable in program command command

Cause: %varname% option is being used and varname is not the name of a type C, S, U, M or P field
Action: Supply the name of a field of the right type