display field values

Hi

I am writing a display method in a report to print the values of a particular field.

For example my code is like this

display ProjId _projId()
{
ProjId projId;
;
while select projTable
where projTable.CustAccount == custTable.AccountNum
{
projId += projTable.ProjId;
}
return projId;

There are possibilities for a particular customer account ter can be a more then one projid values.

In that case i want to print the values one below one. but in ma report it is printing continuosly.

how to do this?

while select projTable
where projTable.CustAccount == custTable.AccountNum
{
projId += projTable.ProjId + ā€œ\nā€; ///which takes you to a next line.
}

keep the Dynamic Height property of the field to Yes.