Skip Headers

Oracle® Objects for OLE Developer's Guide
10g Release 1 (10.1)

Part Number B10118-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Master Index
Master Index
Go to Feedback page
Feedback

OriginalName Method

Example

Applies To

OraField Object

Description

Returns the original column name used in the "select" statement in the dynaset .(as opposed to the name of the field as it appears on the server returned by the Name property). Not available at design time and read-only at run time.

Usage

field_name = Orafield.OriginalName

Remarks

orafield.OriginalName returns the name of the specified OraField object. This returns the Original column name specified in the SQL statement during dynaset creation. This property is useful when SQL statement contains 'schema.table.col' as the 'Name' of the field. It enables duplicate Col names to be referenced. (Duplicate column names could be avoided altogether by using aliases in the SQL statement.)