 |
coolzero Level: Trainee
 Registered: 29-03-2005 Posts: 1
|
Edit a RPT in Runtime on VB.NET
Hi.
I need to edit RPT files in runtime...
My client needs a gest program that allows him to configure documents.
In fact, we wants a GUI that allows him to have the same GUI that we, programmers, have when creating a new report...
Is that possible?
I'm getting desesperated...
Thanks
|
|
29-03-2005 at 01:50 PM |
|
|
Goran Level: Moderator
 Registered: 16-05-2002 Posts: 1681
|
Re: Edit a RPT in Runtime on VB.NET
Well, as far as I know, its possible, but it not be a easy task, especially if you have data from several tables shown in report. Why dont you ask your customer to give you a few pattern that report can look so you can make them and allow him to choose which he wants to use?
____________________________
If you find the answer helpful, please mark this topic as solved.
|
|
29-03-2005 at 03:43 PM |
|
|
Madhivanan Level: Graduate
 Registered: 02-05-2005 Posts: 10
|
Re: Edit a RPT in Runtime on VB.NET
quote: Well, as far as I know, its possible
Can you tell me how this is possible?
____________________________
Madhivanan
Failing to plan is Planning to fail
|
|
02-05-2005 at 11:17 AM |
|
|
Goran Level: Moderator
 Registered: 16-05-2002 Posts: 1681
|
Re: Edit a RPT in Runtime on VB.NET
I never tried it myself, as I said, but if you look at the report object, you will see that Sections collection has ADD/REMOVE methods which will allow sections to be added/removed. Also, section object has several methods to add objects to report, like AddTextObject, AddFieldObject, AddBoxObject, and many more, which will allow you to dinamically add objects to report. With all this methods available, dont see the reason why it shouldnt be possible to create it in runtime.
____________________________
If you find the answer helpful, please mark this topic as solved.
|
|
02-05-2005 at 07:25 PM |
|
|
Madhivanan Level: Graduate
 Registered: 02-05-2005 Posts: 10
|
Re: Edit a RPT in Runtime on VB.NET
Thanks for this info. I will try that
____________________________
Madhivanan
Failing to plan is Planning to fail
|
|
03-05-2005 at 10:52 AM |
|
|
|
|
 |
 |