FirstClass RAD error messages are loosely divided into categories based on the error message number.
Core error messages (1 – 107)
1
Message: Syntax error.
You have made a mistake in the code syntax. You will get a line number where the error occurs.
2
Message: Memory allocation failure.
Your request exceeds the available amount of memory on your system.
3
Message: Program entry point not found, no Sub Main().
Sub Main( ) is not found anywhere in the program code.
4
Message: Unbalanced parentheses.
You have left out a parenthesis (open or close) in the program code.
5
Message: Equals sign expected.
You have left out an equals sign (=) in the appropriate place in the program code. This can occur in the assignment statements or when assigning variables.
6
Message: Duplicate label.
You have created two labels with the same name in the program code.
7
Message: Undefined label.
You haven’t defined a label in the program code.
8
Message: THEN expected.
You have left out a THEN command.
9
Message: TO expected.
You have left out a TO command.
10
Message: NEXT without FOR.
You have left out a FOR command.
11
Message: Invalid identifier name.
You have an identifier name with invalid characters.
12
Message: AS expected.
There is a DIM command without AS.
13
Message: Invalid variable/type/sub/function redefinition.
You have set a variable, type, sub, or function twice or incorrectly.
14
Message: Undeclared identifier.
You have used an identifier without declaring it.
15
Message: Type mismatch error.
You have an assignment between two types that are not the same.
16
Message: Divide by zero error.
You have a calculation in your code that is divisible by zero. This is an impossible calculation.
17
Message: END IF expected.
You have left out a required END IF command.
18
Message: END IF without IF.
You have left out a required IF command.
19
Message: ELSE without IF.
You have left out a required IF command.
20
Message: WEND without WHILE.
You have left out a required WHILE command.
21
Message: WEND expected.
You have left out a required WEND command.
22
Message: Incorrect number of indices for array.
You have used too few or too many indices in defining your array.
23
Message: Identifier expected.
You have left out a required identifier name.
24
Message: Array index out of range.
You have accessed a number in an array outside of the defined array boundaries.
25
Message: Variable is not an array.
You have not defined the variable as an array.
26
Message: Redefinition of a constant not allowed.
You have two constants with the same name.
27
Message: END SELECT expected.
You have left out a required END SELECT command.
28
Message: END SELECT without SELECT CASE.
You have left out a required SELECT CASE command.
29
Message: CASE expected.
You have left out a required CASE command. CASE is a subset of SELECT CASE.
30
Message: Incorrect number of arguments to subroutine.
You have called a subroutine with an incorrect number of arguments.
31
Message: Invalid range for an array.
You have defined an array with an incorrect range. For example, you can’t have negative numbers in an array. The lower bound number in an array must be smaller than the upper bound number.
32
Message: Keywords may not be used as variables.
You have used a keyword a variable. Keywords are part of the program language and cannot be used to name variables.
33
Message: memory allocation error; array size too large.
You have created an array size that is larger than the available memory on your system.
34
Message: Unknown method reference.
You have referenced a method that does not exist.
35
Message: Undefined object.
You have an undefined object in the code.
36
Message: Invalid object reference.
You have referenced an object that does not exist.
37
Message: IF expected.
You have left out a required IF command in an IF...THEN ELSE statement.
38
Message: Expression expected.
You have not entered the expression in the code.
39
Message: ELSEIF without IF.
You have left out an IF command in an IF...ELSEIF statement.
40
Message: ELSEIF after ELSE.
You have place the ELSEIF command after the ELSE command. ELSE must be the last clause.
41
Message: Expected end of statement or new line.
You have placed several statements on one line.
42
Message: Data type expected.
You have not properly defined a data type.
43
Message: Invalid counter for NEXT statement.
You have used an incorrect counter for a loop.
44
Message: FOR without NEXT.
You have left out the NEXT command in a FOR...NEXT statement.
45
Message: No statements allowed between SELECT CASE and first CASE.
You have code in between the SELECT CASE and first CASE commands.
46
Message: Expected expression, IS, or ELSE.
You have created a CASE expression without IS or ELSE commands.
47
Message: Expected comparison operator after IS.
You have not entered a comparison operator after the IS command.
48
Message: CASE without SELECT CASE.
You have left out a SELECT CASE command appears.
49
Message: LOOP without DO.
You have left out a DO command in a DO...LOOP statement.
50
Message: EXIT DO allowed only within DO LOOP.
You have placed an EXIT DO command outside of a DO LOOP command pair.
51
Message: DO without LOOP.
You have left out a LOOP command in a DO...LOOP statement.
52
Message: Expected UNTIL or WHILE.
You have left out an UNTIL or WHILE command.
53
Message: EXIT FOR allowed only within FOR NEXT.
You have placed an EXIT FOR command outside a FOR NEXT command.
54
Message: Equal sign or AS expected.
There is a DIM command without an equal sign (=) or AS.
55
Message: Error in label definition.
You have incorrectly defined a label.
56
Message: Duplicate OPTION BASE statement.
You have duplicated an OPTION BASE command.
57
Message: BASE expected.
You have used an OPTION command without a BASE command.
58
Message: 0 or 1 expected.
You have used a BASE option other than 0 or 1.
59
Message: Integer or constant value expected.
You have specified the number of characters in a string, but did not provide actual integer numbers in a TYPE statement.
60
Message: AS without DIM, REDIM, or TYPE.
You have omitted either the DIM, REDIM, or TYPE commands with the As command when defining variables in a code statement.
61
Message: TO without preceding statement.
You have the TO command on a line without any other commands.
62
Message: TYPE expected.
You have used the ENDTYPE command without the TYPE command.
63
Message: TYPE without members.
You have established user-defined types with the TYPE command but have not defined any members.
64
Message: TYPE without END TYPE.
You have used the TYPE command without the corresponding END TYPE command.
65
Message: END TYPE without TYPE.
You have used the END TYPE command without the corresponding TYPE command.
66
Message: End of line required after ELSEIF...THEN.
There is no return at the end of the line.
67
Message: Variables and function calls not allowed in the expression.
You have entered a variable or function call when a constant is expected.
68
Message: The range for fixed length strings is 1 - 65536.
You have defined a string length longer than the range.
69
Message: STEP 0 not allowed.
You have entered STEP 0 as a loop increment. Program will not loop.
70
Message: RETURN without GOSUB.
You have used the RETURN command without the corresponding GOSUB command.
71
Message: ERROR expected.
You have used the ON command without the corresponding ON ERROR command.
72
Message: GOTO or RESUME expected.
You have used the ON ERROR command without the GOTO or RESUME commands.
73
Message: NEXT expected.
You have used the FOR command without the corresponding NEXT command.
74
Message: Undefined data type.
You have not defined the data type in the program code.
75
Message: RESUME without enabled error handling.
You have used the RESUME command without the corresponding ON ERROR command.
76
Message: RESUME without error.
You have used the RESUME command without defining the error type.
77
Message: Invalid variable name.
You have incorrectly defined the variable name.
78
Message: Single-line nested IF..THEN not supported.
You have two IF..THEN commands on the same line.
79
Message: Identifier too long.
You have defined an identifier longer than the 128 character maximum.
80
Message: Invalid use of system function.
You have used a function without using the return value. For example, in an IF..THEN statement or in an assignment statement.
81
Message: Element identifier required.
You have referred to an array without specifying a particular element array.
82
Message: SUB without END SUB.
You have used the SUB command without the corresponding END SUB command.
83
Message: FUNCTION without END FUNCTION.
You have used the FUNCTION command without the corresponding END FUNCTION command.
84
Message: Nested procedures not allowed.
You have defined two or more procedures within same procedure.
85
Message: No statements allowed outside procedures.
You have statement(s) outside of procedures.
86
Message: Illegal END SUB/FUNCTION.
You have closed your command incorrectly.
87
Message: Incorrect object method.
You have entered an object method incorrectly.
For example, Form.loaf instead of Form.load.
88
Message: No labels allowed outside of procedures and functions.
You have one or more labels outside of procedures or functions.
89
Message: Invalid procedure call.
You have called a subroutine or function incorrectly. Check where you have defined your subroutine or function.
90
Message: Illegal resizing operation in REDIM.
You have entered the starting number of an array as different from the original variable, or the number of dimensions of an array doesn’t match.
91
Message: Cannot change the number of dimensions in an array.
You have tried to change the number of dimensions in an array.
92
Message: EXIT FUNCTION not allowed in SUB.
You have used an EXIT FUNCTION in SUB.
93
Message: EXIT SUB not allowed in the function.
You have used an EXIT SUB in a function..
94
Message: Overflow.
The assignment has exceeded the range of the variable.
95
Message: Invalid inside procedure.
You have used either the TYPE or OPTION keywords in a procedure.
96
Message: Invalid outside procedure.
You have written code outside of a procedure.
97
Message: Invalid attribute value.
You have assigned an incorrect value to an attribute.
98
Message: Unterminated quoted string.
You have forgotten to put an end quote in a literal string before the line return.
99
Message: Expected function or variable.
You have incorrectly called a method without specifying a variable name.
100
Message: Incorrect source database version.
The source code was generated by a Rapid Application Developer (RAD) version earlier than 1.1.
101
Message: Empty sub or function.
You haven’t put code in the SUB or function.
102
Message: Labels in Declarations not allowed.
You have put a label in a declaration section of your code.
103
Message: File must be opened to perform this operation.
You have tried to perform an operation on a closed file.
104
Message: File open failed.
Your file does not exist, is corrupt, or is in use.
105
Message: Unable to position file pointer.
You have gone beyond the length of the file or given the file a negative (-) pointer number.
106
Message: Box array index out of range.
You have referred to a box element that is out of range or less than zero (0).
107
Message: Database column does not support NULL.
You have entered a null value for the database column.
Database error messages (500 – 509)
500
Message: Data source connection has not been established.
You have not established the data source connection for your program.
501
Message: Invalid cursor state.
You have attempted a database operation on a statement that is closed.
502
Message: ODBC error.
An ODBC error was returned.
503
Message: Undefined column.
You have tried to access a column that doesn’t exist.
504
Message: Undefined attribute.
You have tried to access an attribute that doesn’t exist.
505
Message: Unsupported data type.
You have tried to assign data to a field that doesn’t support that data type.
506
Message: Statement must be closed before reopening on a connection.
You have tried to open a statement twice on the same connection.
507
Message: Connection must be closed before connecting to a new data source.
You have tried to connect to a new data source before closing your connection.
508
Message: Attribute is read-only at runtime.
You have tried to set an attribute for a database that can’t be modified.
509
Message: ODBC warning.
There is a problem with your ODBC operation. The operation will still be completed.
FirstClass error messages (1000 – 1018)
1000
Message: Attribute or method not found.
You have tried to call an attribute or method that doesn’t exist.
1001
Message: Application not found.
You have tried to run an application that doesn’t exist.
1002
Message: Application entry point not found.
You have left out the Sub Main () procedure in the code module. The application doesn’t know where to start.
1003
Message: All ODBC database connections in use.
You have exceeded the ODBC driver connection limit. Make sure your connection is set to Shared.
1004
Message: You may only run one copy of this application at a time.
You have tried to run more than one copy of the application. The application is configured to run only once. You can change the run number on the Options > Project Attributes form and rebuild the application.
1005
Message: All of this application’s sessions are currently in use.
You have exceeded the number of sessions set on the Options > Project Attributes form.
1006
Message: Form ID number invalid.
You have set a form ID number to less than 1.
1007
Message: Invalid file format.
You have tried to load an FCX file, which is not recognized by the RAD version you are running.
For example, if you tried to run a FirstClass RAD 2.0 application on an earlier version of FirstClass RAD.
1008
Message: Unable to read from file.
You have tried to load a corrupted FCX file. The error is found when you try to load the application.
1009
Message: Unable to write to file.
You have tried to load a corrupted FCX file. The error is found when you try to build the application.
1010
Message: ODBC data source connection failed.
You have configured a connection that isn’t functional. For example, the user ID or password is invalid.
1011
Message: Email message recipient not specified.
The email To attribute is not filled by the Send attribute called.
1012
Message: Email message sender not specified.
The email From attribute is not filled by the Send attribute called.
1013
Message: License limit reached; maximum concurrent application sessions exceeded.
You have exceeded your license limit for concurrent application sessions. This error occurs only on 5.5 non Gold FirstClass servers and earlier.
1014
Message: File copy failed.
The COPYFILE keyword failed. For example, the path and directory are wrong.
1015
Message: Field is not an expanding database list.
You have tried to refer to an element in a field that is not the correct type.
1016
Message: Attribute or method not available for this field.
You have tried to use a unsupported attribute or method specific to a field type.
|