Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Please help, I'm new

Status
Not open for further replies.

beer77

Programmer
Jun 24, 2003
3
RU
How can I print all array values on report?

Here is a part of my code:
....
item(0) = "test1"
item(1) = "test2"
item(2) = "test3"
For i = 0 To 2
m_subReport.FormulaFields.GetItemByName("ItemName").Text= "'" & item(i) & "'"
Next
.......

But when I'm printing a report only the last array value is shown (test3). What should I do?
 
What language are you using?

In Crystal Reports you would display an array using

Join({?MyParm},",")

or

Join(["1","2","3",","])

-k
 
I'm using VB, and trying to pass an array into Crytal Reports.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top