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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crystal Reports - passing coded DS to Details Section

Status
Not open for further replies.

Turpis

Programmer
Joined
Apr 16, 2002
Messages
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)
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top