Page 1 of 1

Using 2010 Business Objects

Posted: Sun Mar 28, 2010 2:50 am
by Martin Hart Turner
Hi:

I have many reports that use DevExpress XPO business objects, to take advantage of the new Business Object features in version StimulReport 2010.1, do I have to change anything or is the new implementation automatico?

I have read in the 2010 release documentation that business objects are now not converted to the reports interal format, this functionallity I'm looking to use.

Thanks,
Martin.

Using 2010 Business Objects

Posted: Mon Mar 29, 2010 2:47 am
by Jan
Hello Martin,
I have many reports that use DevExpress XPO business objects, to take advantage of the new Business Object features in version StimulReport 2010.1, do I have to change anything or is the new implementation automatico?
Yes you need do some changes:

1. You need use method RegBusinessObject of report instead RegData:

report.RegBusinessObject("Data", data);

2. You need use BusinessObject property of DataBand instead DataSource property.

3. In some cases you need change references to fields in text expressions.

Please check following live videos:

http://www.stimulsoft.com/livedemos/Rep ... eList.html
http://www.stimulsoft.com/livedemos/Rep ... etail.html

Thank you.