Użytkownik Nate Lowrie napisał: > I have a situation where I have following relationship in the database: > - orders > - order_line_items is a child of orders > - order_line_item_options is a child of order_line_items > > When I create a new order, the following happens: > > 1) new orders records > 2) Add a line item to the order, which adds a new record to > order_line_item and a few records to order_line_item_options > 3) Add another line item to the order > > When 3 occurs, we haven't saved anything yet. > > What I am seeing is when number 3 happens, the order_line_item bizobj > moves it's pointer to the new record, the order_line_item_options > bizobj requeries because it is a child of the order_line_item bizobj, > and the new records I added for the first order_line_item are erased > by the requery. >
I have many forms with even longer master-child chains and it works for me correctly. First, requery is issued for another parent cursor and second, the requeryAllChildren() doesn't requery modified children. What happens to you is probably related to ticket #1390. I had overwritten large part of dBizobj class in my inherited class to fix this issue and improve speed for large (more than 2k rows children). I can commit this fixes if Ed and Paul agree. -- Regards Jacek Kałucki _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[email protected]
