Turpis
Programmer
- Apr 16, 2002
- 151
How would I go about passing a dataset that is coded (so not available in the designer to the details section of my crystal report?
I have already set up some of the Report and Page Header information with the following code. (using parameter fields)
But in the detail section I want to pass a whole column of inforation from myDS to one "??" something or other field and have it print that object for every record in the column...just like when it is connected to a database field when working with the designer.
Any suggestions? I have been to and done some searches there and here, no help so far as to how to code this.
Charles
Quality Assurance/Developer
I have already set up some of the Report and Page Header information with the following code. (using parameter fields)
Code:
Dim cr1 As New crOneJob
With cr1
.SetDataSource(myDS)
.SetParameterValue("PartNumber", dr.Item(1))
.SetParameterValue("JobNumber", "*" & Trim(dr.Item(0)) & "*")
.SetParameterValue("Description", dr.Item(2))
.SetParameterValue("Quantity", CInt(dr.Item(3)).ToString)
End With
But in the detail section I want to pass a whole column of inforation from myDS to one "??" something or other field and have it print that object for every record in the column...just like when it is connected to a database field when working with the designer.
Any suggestions? I have been to and done some searches there and here, no help so far as to how to code this.
Charles
Quality Assurance/Developer