borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (Filter records)Next Topic (Unable to connect error) New Topic New Poll Post Reply
AndreaVB Forum : Reporting tools : Edit a RPT in Runtime on VB.NET
Poster Message
coolzero
Level: Trainee

Registered: 29-03-2005
Posts: 1

icon 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
View Profile Send Email to User Show All Posts | Quote Reply
Goran
Level: Moderator

Registered: 16-05-2002
Posts: 1681
icon 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
View Profile Send Email to User Show All Posts | Quote Reply
Madhivanan
Level: Graduate

Registered: 02-05-2005
Posts: 10
icon 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
View Profile Send Email to User Show All Posts | Quote Reply
Goran
Level: Moderator

Registered: 16-05-2002
Posts: 1681
icon 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
View Profile Send Email to User Show All Posts | Quote Reply
Madhivanan
Level: Graduate

Registered: 02-05-2005
Posts: 10
icon 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
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : Reporting tools : Edit a RPT in Runtime on VB.NET
Previous Topic (Filter records)Next Topic (Unable to connect error) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder