A script-enabled browser is required for this page to function properly.

REP-305: '<lexical reference>' cannot be used as a lexical parameter because it is not a character value.

Cause:

You entered an invalid lexical reference in your SELECT statement. Lexical references can only be made to parameters or columns containing character data. The possible causes of this error include the following:

Case 1: You referenced the wrong column or parameter.

Case 2: You meant for the reference to be a bind reference, not a lexical reference.

Case 3: You created the parameter or column referenced with a non-character Datatype.

Action:

You can take the following actions to correct this error:

If Case 1: Change the name that follows the ampersand (&) so it references a parameter or column with a Datatype of Character.

If Case 2: Replace the ampersand (&) with a colon (:) when referencing the parameter or column.

If Case 3: Change the Datatype of the parameter or column to be Character, if appropriate.

Note:  For help on other error messages, see Finding error message help.