on 09-10-2007 4:48 PM
Post Author: Thomas Gyllencreutz
CA Forum: Crystal Reports
Hi!In Crystal Reports 8.5 there is 2 functions AddTextObject and AddFieldObject that allows me to add objects on-the-fly on a blank report. I cant find these methods anywhere in Business Objects XI Release 2. Is there another way of adding objects text and field objects at runtime?The problem is that I dont know what data the dataset will contain at design-time. The dataset is filled with data based on a user created SQL string and the user is allowed to decide what outpfileds they want in the report. And the final thing is to generate a report that they can preview and maybe print/export to pdf or whatever they wanna do with it.I have scanned the forum and web and found lots of articles that describes almost everything but this problem. Any suggestions what to do?Im using: Visual Studio 2005Business Objects XI R2The solution has to be 100% VB .NET (no activex components)The application is a Client application (no serverside generated reports)RegardsThomas Gyllencreutz
Post Author: turz
CA Forum: Crystal Reports
Hi I am trying to do something very similar, and I have found that you can create objects in Crystal Reports XI R2 SP2 and later. I am currently using SP3 and have found a way to create report objects, but I am relativly new to Crystal Reports and I am not sure how to set the values. You create the object by using classes found in the CrystalDecisions.ReportAppServer.ReportDefModel namespace. You can then add the object to the report through the ReportClientDocument. If anyone knows how to set the values of Report objects, such as text objects, please point me in the right direction.ThanksChris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.