<< Return to Main Index

< Return to Class Index

CGXDBToolsEngine::GetDBTValueAsString

BOOL GetDBTValueAsString(CString& strValue, RWDBValue value, RWDBValue::ValueType type);

strValue

Specifies the string into which the converted text should be stored.

value

Specifies the value that is to be converted.

type

Specifies the data type of the value.

Return Value

TRUE if the conversion was successful, FALSE otherwise.

Remarks

This is called from GetValue to convert the corresponding RWDBValue into a Cstring. Override this function if you want to do custom formatting. Make sure to override ComposeValue and handle the conversion back to a RWDBValue yourself if you had applied any custom formatting.

See Also

CGXDBToolsEngine::ComposeValue

CGXDBToolsEngine

Class Overview | Class Members