FieldOriginalName Property

Applies To

OraDynaset Object


Gets the original field name used in the SELECT statement in the dynaset.


set field_name = oradynaset.FieldOriginalName(index)


Arguments Description
[in] index An Integer specifying the field index of the original field name as it appears in the SQL statement.

Data Type



The FieldOriginalName property returns a string containing the original column name specified in the SQL statement during dynaset creation. This property is useful when a SQL statement contains SCHEMA.TABLE.COL as the name of the field. This enables duplicate column names to be referenced. Another way to avoid duplicate columns is to specify an alias in the SQL statement.