Report Form

Stimulsoft Reports.NET discussion
rchabot
Posts: 5
Joined: Fri Feb 02, 2007 4:18 pm
Location: Hartford, MI

Report Form

Post by rchabot »

I am designing my application to load report mrt files on demand much like a plug in interface. I am allowing users to create report options using the report form (stiForm).

1. Is there a way to add a value to start mode that will show the stiform at report start but leave the stiform open for report modification?
2. Is there a way to obtain source code for the prerelease versions?
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

Report Form

Post by Vital »

1. Is there a way to add a value to start mode that will show the stiform at report start but leave the stiform open for report modification?
Please, explain more details this task.

Code: Select all

2.  Is there a way to obtain source code for the prerelease versions?
Yes of course. Send request to support [at] stimulsoft [dot] com. Please provide your login in email.

Thank you.
rchabot
Posts: 5
Joined: Fri Feb 02, 2007 4:18 pm
Location: Hartford, MI

Report Form

Post by rchabot »

Vital wrote:
1. Is there a way to add a value to start mode that will show the stiform at report start but leave the stiform open for report modification?
Please, explain more details this task.
Thank you.
I am attempting to use Stimulsoft reports as a plug in so that users can create custom reports.
I am using a stiForm that is displayed before the report which allows the user to select report crieteria.
The stiForm then feeds the correct sql to the report.

This works fine except,
The stiForm needs to stay loaded with state information as the user will change the report parameters and re-run the report.
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Report Form

Post by Edward »

If I understand you in the correct way, the following code will help to achieve your goal:

Code: Select all

// Connects the SqlBasedDataSource to the Data 
// after setting the correct SQL in the StiForm of the report.
SqlBasedDataSource.Connect();
also you need to set the property of the SqlBasedDataSource:
SqlBasedDataSource.ConnectOnStart = false in the Property Editor.

Thank you.
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

Report Form

Post by Vital »

We will update our code to release this feature. We inform you in this topic about progress.

Thank you.
rchabot
Posts: 5
Joined: Fri Feb 02, 2007 4:18 pm
Location: Hartford, MI

Report Form

Post by rchabot »

Vital wrote:We will update our code to release this feature. We inform you in this topic about progress.

Thank you.
Do you have an estimate?
Day, Weeks, Months?
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Report Form

Post by Edward »

rchabot wrote:Do you have an estimate?
Day, Weeks, Months?
Our estimate is 1-2 weeks.

Thank you.
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Report Form

Post by Edward »

rchabot wrote:Do you have an estimate?
Day, Weeks, Months?
Our estimate is 1-2 weeks.

We will inform you in that topic when a solution will be ready.

Thank you.
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

Report Form

Post by Vital »

We have finished our work on new mode of dialogs. You can enable this mode at property StartMode of report form. Set this property to value OnPreview. Take in care, property DialogResult of buttons. If property equal to Cancel then when clicking on this button form preview will be closed. If property equal to Ok, than report will be rerender in preview window.

Thank you.
rchabot
Posts: 5
Joined: Fri Feb 02, 2007 4:18 pm
Location: Hartford, MI

Report Form

Post by rchabot »

Vital wrote:We have finished our work on new mode of dialogs. You can enable this mode at property StartMode of report form. Set this property to value OnPreview. Take in care, property DialogResult of buttons. If property equal to Cancel then when clicking on this button form preview will be closed. If property equal to Ok, than report will be rerender in preview window.

Thank you.
Is this in version StimulReport.Net 2007.02.16 R2005?
If not which downloadable version contains the new code?
Post Reply