Page 1 of 1
MutiLine Text
Posted: Sun Jul 25, 2010 9:56 am
by Emd
Hi,
I'm new to Stimulsoft Report I have 2 questions
1- How to Set a Text in a DataBand to be multiline ?
2- Sometimes when I design a report with a Text in a DataBand and I print it after registering its DataSource I see only the first record, in other reports it works fine ! I can't tell what I'm doing wrong,
what setting I have to set in order to see the rest of the records ?
Thanks
MutiLine Text
Posted: Mon Jul 26, 2010 1:38 am
by Jan
Hello,
1- How to Set a Text in a DataBand to be multiline ?
Please set WordWrap and CanGrow properties to true.
2- Sometimes when I design a report with a Text in a DataBand and I print it after registering its DataSource I see only the first record, in other reports it works fine ! I can't tell what I'm doing wrong,
what setting I have to set in order to see the rest of the records ?
Please check that you assign DataSource to this DataBand.
Thank you.
MutiLine Text
Posted: Mon Jul 26, 2010 6:03 am
by Emd
Hello,
Quote:
1- How to Set a Text in a DataBand to be multiline ?
Please set WordWrap and CanGrow properties to true.
Worked Perfectly Thanks
Quote:
2- Sometimes when I design a report with a Text in a DataBand and I print it after registering its DataSource I see only the first record, in other reports it works fine ! I can't tell what I'm doing wrong,
what setting I have to set in order to see the rest of the records ?
Please check that you assign DataSource to this DataBand.
_______
I assign DataSource at run time as follows
frm.stiReport1.RegData("Ballance", this.BallanceTable);
frm.stiReport1.Dictionary.Synchronize();
frm.stiReport1.Dictionary.DataSources[0].Name = "Ballance";
frm.stiReport1.Dictionary.DataSources[0].Alias = "Ballance";
at report Designe I do the Following in DataField
{Ballance.Value}
When I print report only First Record shows
Thank you in Advance
MutiLine Text
Posted: Mon Jul 26, 2010 10:49 pm
by Emd
Hello,
I used the following and it works perfectly
frm.TranRep.RegData("Ballance", this.BallanceTable);
frm.TranRep.Dictionary.Synchronize();
frm.TranRep.Dictionary.DataSources[3].Name = "Ballance";
frm.TranRep.Dictionary.DataSources[3].Alias = "Ballance";
Stimulsoft.Report.Components.StiDataBand band = frm.TranRep.GetComponents()["DataBand2"]
as Stimulsoft.Report.Components.StiDataBand;
band.DataSourceName = "Ballance";
Thanks
MutiLine Text
Posted: Mon Jul 26, 2010 11:57 pm
by Andrew
Hello,
Thank you for letting us know about this.