I'm having trouble figuring out the best way to bind my object to the report. My object represents a sales order. I have set the DataSource to the Items property of my object and that works fine for the line items of the order. I've added a public property on the report that is set to my Sales Order object. However, I haven't figured out how to access the header information, such as the sales order number, in a text box. If my property is called Order, specifiing =Order.SoNo in the text box gets an error saying object Order is not defined in the current context.
Other than setting text box value manualy in New(), I haven't been able to get this to work. Is there a clean way to do this?
Other than setting text box value manualy in New(), I haven't been able to get this to work. Is there a clean way to do this?