Last post Jul 11, 2012 04:14 AM by livetecshosting
Jul 05, 2012 12:47 PM|snailpace|LINK
Is it possible to generate a crystal report with dynamic columns?
For Eg: User picks a value from a list, and every value in that list has different set of attributes so depending on the lsitvalue, the attributed displayed on the crystal report will vary. These attributes are SQL table controlled.
One easy way is to generate a report for every single listvalue, but thats not practical as there might be new values in the future and everytime someone has to go in and generate a new report everytime.
Is it possible to make this dynamic, so the columns in the report are generated at runtime depending on what list value is picked?
Jul 11, 2012 04:14 AM|livetecshosting|LINK
There are two way to implement this feature. First is to purchase a 3rd part report that support dynamic columns. Second is to implement this yourself. You can simply store columns definition in your database. And then on runtime, you can generate columns
at runtime using Crystal Report runtime api.