Oracle® Reports 9i | 10g | 11g | 12c Error Codes

Information for Reports Error Code REP-00305: Reference {0} cannot be used as a lexical parameter because it is not a character value.
Oracle® Reports Error REP-0030534/3

REP-00305: Reference {0} cannot be used as a lexical parameter because it is not a character value.


Cause: An invalid lexical reference appears in the 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: The wrong column or parameter was referenced. Case 2: The reference should be a bind reference, not a lexical reference. Case 3: The parameter or column referenced was created with a non-character data type.


Action: 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 data type of Character. If Case 2: Replace the ampersand (&) with a colon (:) when referencing the parameter or column. If Case 3: Change the data type of the parameter or column to be Character, if appropriate.

Level: 1

Impact: Other

Oracle® Reports Error Codes 9i | 10g | 11g | 12c

Record: 1/1

Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners

Oracle: Registered trademark of Oracle