Joined: 14 Nov 2006
Online Status: Offline
Posts: 5
Topic: Crystal Reports Unbound report? Posted: 14 Nov 2006 at 11:11pm
I need to write a Crystal Reports report by passing it an array of objects. The report needs to cycle through the array and print an address label for each object.
I cannot figure out how to use CR by getting data from an object. Can anyone help?
Joined: 15 Nov 2006
Location: Portugal
Online Status: Offline
Posts: 6
Posted: 15 Nov 2006 at 10:40am
well... with so many questions and answers the same time... guess you are using a DataSet to acomplish this... Just print the address in details section of your rpt
Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Posted: 08 Dec 2006 at 11:26am
If you upgrade to CR.NET 2005, you can pass arrays to the report. But you are right that it can't be done in CR 2003 and you have to convert it to a dataset instead.
Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Posted: 08 Dec 2006 at 2:48pm
Great question. It's on my to-do list for figuring this out. CR 2005 can now print from any object based on the collection class. However, I have no idea how to build the report yet (I'm still focused on XI for now). I think you have to declare the object in the solution explorer and then tell CR to use that as the data source. But I'm just guessing until I have more time to research it for the next book.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum