Page 1 of 1

[resolved] Is it possible to set Data source as fixed in the report designer.

Posted: Tue Aug 11, 2009 2:44 pm
by mvines
I pass the data source available for the report to the report designer. Any modification of the datasource during report design is not valid. Is there a way to restrict those actions? Specifically adding and removing of items from the datasource. Adding additional data sources, etc.

[resolved] Is it possible to set Data source as fixed in the report designer.

Posted: Tue Aug 11, 2009 2:49 pm
by mvines
Found this one right after I posted. In order to Prevent such actions use

Code: Select all

StiWebDesignerOptions.ModifyDictionary = false;
Note: This also prevents all actions on System Variables and Totals, which is not ideal, but it is certainly good enough.

[resolved] Is it possible to set Data source as fixed in the report designer.

Posted: Tue Nov 09, 2010 3:02 pm
by hadisaadat_du
Hi every body.
I sea allmost all topic in forum and seem int all of them posit that we know what is our tables and columns in dataset of our reportbut allways not thus
1-sometime we may want to edit the report in webdesigner that we dont know any thing about its data set but we sure it works with our data base , so befor call the design() function we pass what data set to our report via regdata(//what_dataset) ??
2- or we may want to set full access to data base to one user to create the every report that need to design well we pass a full data base to designer dictionary and he/she design every report by every columns in every tables or viwes in database and save it , in viwe report mode namely after load our report and we want to pass it to stiwebviewer we pass what data set to it since we cant pass all data base to our report ??!