Question : Arrays into Crystal Reports

Is it possible to pass an array inot crystal reports to format & print the result?  
If so, any examples out there?
Code Snippet:
1:
2:
3:
4:
5:
6:
For i = 0 To (DtSet.Tables(0).Rows.Count) - 1

            arrLabels(0, i) = "To:" + DtSet.Tables(0).Rows(i).Item(0) + "-" + DtSet.Tables(0).Rows(i).Item(1) + "-" + DtSet.Tables(0).Rows(i).Item(2) + "-" + DtSet.Tables(0).Rows(i).Item(3) + "-" + DtSet.Tables(0).Rows(i).Item(4)
            arrLabels(1, i) = "Fm:" + DtSet.Tables(0).Rows(i).Item(5) + "-" + DtSet.Tables(0).Rows(i).Item(6) + "-" + DtSet.Tables(0).Rows(i).Item(7) + "-" + DtSet.Tables(0).Rows(i).Item(8) + "-" + DtSet.Tables(0).Rows(i).Item(9)

        Next i

Answer : Arrays into Crystal Reports

Why don't you add a subreport? That would do the trick. Put it in the detail section so it will print every record. No array necessary.
Random Solutions  
 
programming4us programming4us