Oracle Objects for OLE C++ Class Library
Release 9.2

Part Number A95896-01
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents

Master Index

Feedback

GetFieldByOriginalName Method

Applies To

OFieldCollection

Description

This method returns the OField object based on original column name used in the "select" statement in the dynaset.

Usage

OField GetFieldByOriginalName(const char *name) const

Arguments

fieldname
The original name of the field, as expressed in the SQL query.
Remarks

This method returns an OField object on the indicated field. The field object remains valid until the dynaset is refreshed or destroyed.

This method is useful when sql statement contains 'schema.table.col' as the 'name' of the field and retrieve the field object specific to that original name.

Return Value

An OField, which will be open on success, closed on failure.


 
Oracle
Copyright © 1998, 2002 Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents

Master Index

Feedback