New Posts New Posts RSS Feed: Mapping Business Objects to DevExpress Reportin
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Mapping Business Objects to DevExpress Reportin

 Post Reply Post Reply
Author
mymoosani View Drop Down
Newbie
Newbie
Avatar

Joined: 22-Aug-2007
Location: Pakistan
Posts: 2
Post Options Post Options   Quote mymoosani Quote  Post ReplyReply Direct Link To This Post Topic: Mapping Business Objects to DevExpress Reportin
    Posted: 03-Sep-2007 at 1:00pm

I am trying Dev Express Reporting with Ideablade Objects. In this process
I created a Report generated from emplyeeForm showing in 100 Fundamentals
It works great with following code

 Dim rpt As New EmployeeXtraReport
        rpt.DataSource = mEmployees
        rpt.ShowPreview()

Then I added a subreport to show Orders after Each Employee as it appears in this form. So I created a subreport and set its binding. But I am not able to figure out how to pass current Employee Order as data source to this. if I write following kind of code

        Dim rpt As New EmployeeXtraReport
        Dim rpt1 As New OrderXtraReport
        rpt.DataSource = mEmployeesBS
        rpt.Subreport1.ReportSource = rpt1
        rpt1.DataSource = mEmployees(mEmployees.IndexOf(mEmployeesBS.Current)).Orders()
        rpt.ShowPreview()

It works but showing same Order after each employee....I think I should write some code in EmployeeXtraReport : SubReport1 : BeforePrint
but there I am not able to figure out how to extract current Employee Orders Object from reports DataSource.

Please also confirm does Active Report .Net Supports Objects as Data Source like Dev Express ?

 

Back to Top
GregD View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 09-May-2007
Posts: 374
Post Options Post Options   Quote GregD Quote  Post ReplyReply Direct Link To This Post Posted: 04-Sep-2007 at 5:40pm
See the Reporting instructional unit in the 300 Advanced series. It does a master-detail report such as you describe.
 
 
>>

Please also confirm does Active Report .Net Supports Objects as Data Source like Dev Express ?

<<

Yes. 
 
 
Greg Dunn
IdeaBlade
 
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down