How can I report un-typed DataSet/DataTable using Crystal Reports? I can’t define a schema at design time as my DataSet/DataTable is build dynamically and number of columns varies with each run.
Well, I think there may be a way to do this, but it's gonna get messy...
You may be able to put a whole bunch of unbound fields on a CR form, then bind the dataset/datatable fields to the unbound CR fields at runtime, rearranging the fields' locations and hiding unused fields, etc. The real drawback of this method is that you probably won't be able to do anything fancy, such as grouping.
The version of CR that comes bundled with VS is a limited-functionality version. To really get at what I think you want - producing reports on the fly with arbitrary fields, grouping, and so forth - can be done with CR, but you would have to purchase the full developer version, which can consume a bit of $$$.
I used to rock and roll every night and party every day. Then it was every other day. Now I'm lucky if I can find 30 minutes a week in which to get funky. - Homer Simpson
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.