LPCSTR TFormer_ProjectVarItGetDefValue ( HPROJECTVAR_ITERATOR  hProjectVarIt,
ERRCODE *  peCode 
)

Returns the default-value of the DataField the iterator is pointing to.

Returns:
- The default value of the DataField the iterator is pointing to. This value is only valid if peCode is ErrOk (0).
Parameters:
[in] hProjectVarIt DataField iterator (see TFormer_GetFirstProjectVarIt)
[out] peCode Error Code (ErrOk (0) in case of success)
The default value is the standard-value of a DataField when creating data manually or automatically within TFORMer Designer. The default value is only used by TFORMer Designer. When a DataSource is used to pass data to TFORMer Runtime and a DataField is not set by this DataSource the value of the DataField will be an empty string ("") or 0. See also TFormer_SetReuseValues.

Note:
The returned pointer is for temporary use only!


© 2006-2009 - all rights reserved by TEC-IT Datenverarbeitung GmbH
Generated on Wed Sep 2 16:01:09 2009 for TFORMer Runtime DLL/Shared Library with doxygen 1.5.8