StrataFrame Forum

ChildFormDialog

http://forum.strataframe.net/Topic10813.aspx

By Larry Caylor - 8/12/2007

I've run into an issue with the bound controls collection when a business object is passed through more than one level of ChildFormDialogs. To simplify troubleshooting I did the following. On form1 I filled a business object, BO1; its not bound to any controls on form1. Form1 one calls form2 using a ChildFormDialog passing BO1. On form2 BO1 is bound to four controls and BO1.BoundControls.Count = 4. Form2 calls form3 using a ChildFormDialog again passing BO1, the object is not bound to any controls on form3. When form3 is closed and control returns to form2, BO1.BoundControls reflects the object's bound controls collection on form1 (count = 0), not form2 (count = 4).

-Larry

By Trent L. Taylor - 8/13/2007

Larry,  I am probably missing something, but is there anyway you could produce a quick sample for me to look at.  I am not having the same results as you.  Ermm  Thanks.
By Larry Caylor - 8/13/2007

Attached is a simple example. You can run it against the StrataFrame sample database. It pulls a few records from Customers.

-Larry

By Trent L. Taylor - 8/14/2007

Thanks, Larry.  Just so you know, I will be on the road today and will not have a chance to look at this until I get back in the office tomorrow or Thursday.  We have a lot of people on vacation this week so I am covering a lot of ground this week.  But I will definitely add this to my list and take a look at it.  Thanks for taking the time to create a sample. Smile