Combining text in the detail section

J

Joel

Morning All.

Im trying to figure out how to combine text together in the detail section
of a report.

EX: Say I have an albumn section in my report and in the details section I
have all the songs. Normally it would come out something like this;

Albumn - "Something"
track1
track2
track3
exc.....

How do I combine all the tracks into 1 field? (track1, track 2, track3,
exc....)
Otherwise it takes up too much space on the page.

I have tried putting this code in the OnPrint section of Details,

Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer)

Dim strTrack As String

For Each i In Me.Detal
strTrack = " ," & Me.Track & " " & strTrack
Next i

MsgBox strTrack

End Sub

But it tells me that the object "me.Details" does support this method.

TIA,
Joel
 
Top