Cicode Programming Reference > Cicode Function Categories > Group Functions Introduction > GrpToStr

GrpToStr

Converts a group into a string of values separated by " , " and " .. ". You can then display the group on the screen or in a report.

Syntax

GrpToStr(hGrp)

hGrp:

The group handle, returned from the GrpOpen() function. The group handle identifies the table where all data on the associated group is stored.

Return Value

The group (as a string).

Related Functions

GrpOpen, StrToGrp

Example

! Display current areas.
hGrp=GetArea();
Str=GrpToStr(hGrp);
DspStr(21,"WhiteFont",Str);

See Also

Group Functions