Ahmad hejazi
Ahmad hejazi

Reputation: 1

crystal report 9 printing string

I have column its name 'owner' and its has the following vlaue

               ownerName
               -------- 
                 Koni 
                 Sally
                 Jimmi
                 Jone
                 Sami

and i want to print this value in crystal report as following using formula ownerName

           Koni 
           --Sally
           ----Jimmi
           ------Jone
           --------Sami

thank you for any help

Upvotes: 0

Views: 242

Answers (1)

codingbadger
codingbadger

Reputation: 44024

This can be done by using the following formula criteria:

If (RecordNumber > 1) Then
ReplicateString("-", RecordNumber) + {DatabaseFieldName}
Else
{DatabaseFieldName}

Upvotes: 0

Related Questions