Progress
ADM 2 Reference


columnDataType (dataextcols.p)

Returns the Progress data type of a specified column.

Parameters:

INPUT pcColumn AS CHARACTER

A column name. This can be either a RowObject field name or a qualified database field name of a table in the database query.

Returns: CHARACTER

Notes: columnDataType recognizes that pcColumn is a qualified database field name based on the presence of a period ("."). If pcColumn is a qualified database field name and columnDataType is called on the client side of the SmartDataObject, an attempt is made to resolve this on the client. The first attempt is by using the mapped SmartDataObject name in a recursive call to columnDataType. If this fails, and there is a ForeignFields property, the corresponding data source field is queried by this function. As a last resort, columnDataType is called on the Server side.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095