RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDataStore.GetMemberAsString Method

Returns the specified value from a dimension of the data store, formatted as a string.

Pascal
function GetMemberAsString(Dimension: Integer; Index: Integer): String; virtual;
C++
virtual __fastcall AnsiString GetMemberAsString(int Dimension, int Index);

Call GetMemberAsString to retrieve one of the values from the dimension specified by the Dimension parameter. Zero specifies the first dimension, and DimensionCount-1 specifies the last dimension. The Index parameter indicates which value along the dimension is returned, where 0 is the first value. GetDimensionMemberCount returns the number of values included in the dimension. 

GetMemberAsString returns a field value formatted as a string. To obtain the field value as an unformatted variant, use the GetMemberAsVariant method. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!