Fill UserSource in Report Designer Code
Fill UserSource in Report Designer Code
Hi,
is there a way to fill a UserSource (or maybe something else) in the report code? We will need this, because we got a lot of reports with the same data structure, but in some cases, we will need another tables with additional data to group by - a table with date ranges for example. So we will be able to decide in the report whether to group the data by day/weekday/month/... anything.
Thanks in advance.
is there a way to fill a UserSource (or maybe something else) in the report code? We will need this, because we got a lot of reports with the same data structure, but in some cases, we will need another tables with additional data to group by - a table with date ranges for example. So we will be able to decide in the report whether to group the data by day/weekday/month/... anything.
Thanks in advance.
Fill UserSource in Report Designer Code
Hello,
You can try use in the report code next expressions:
etc.
Thank you.
You can try use in the report code next expressions:
Code: Select all
this.Dictionary.Clear();
this.Dictionary.DataSources.Add();
Thank you.
Fill UserSource in Report Designer Code
Thank you,
and how do I add rows to a StiDataSource object?
and how do I add rows to a StiDataSource object?
Fill UserSource in Report Designer Code
Hello,
Can you send a report sample with data and explain the problem in more detail, so that we can give some advice on this question.
Thank you.
and how do I add rows to a StiDataSource object?
Code: Select all
this.Dictionary.DataSources["DataSourceName"].Columns.Add(new StiDataColumn("NewColumn", "NewColumn", "NewColumn", typeof(int)));
Thank you.
Fill UserSource in Report Designer Code
Sent an example which should explain in more detail what I would like to do.
Thank you.
Thank you.
Fill UserSource in Report Designer Code
Hello,
Ok. Thank you.
Ok. Thank you.