Paul McNett wrote: > Uwe Grauer wrote: >> If i do a myform.requery on my form, how can i make sure that i get a >> consistent display after the requery? >> I have a form with a parent and a child grid. >> If i delete a record from my parent grid my child grid doesn't get >> updated after the requery. >> I have different pages on my form and the delete doesn't happen on the >> page with the grids. I happens on a edit-page. > > I think this is a known problem, just discovered a few days ago by John. > Run the dBizobj test and you'll see the failure: > sol:~/dabo/dabo/biz/test pmcnett$ python test_dBizobj.py > > ====================================================================== > FAIL: Requerying bizMain to 0 records should remove bizChild's records, too. > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "test_dBizobj.py", line 449, in testChildren_clearParent > self.assertEqual(bizChild.RowCount, 0) > AssertionError: 2 != 0 > > ---------------------------------------------------------------------- > Ran 25 tests in 0.315s > > FAILED (failures=1) > >
Yes, thanks for the hint. This way we see bugs at least after the commits. :-) _______________________________________________ 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/dabo-users/[EMAIL PROTECTED]
