Paul McNary wrote: > Paul McNett wrote: >> Paul McNary wrote: >>> Hello >>> >>> I'm trying to debug my problem with grid. >>> >>> Where in Dabo code does the grid object tell the Child Biz Object >>> what the row count is? >> >> Never. If the grid's DataSource is a bizobj, then the grid doesn't >> handle the data at all. >> >> So if you as the grid for its row count, the grid asks the bizobj for >> the row count. >> >> >>> After an self.Form.new the row count is 1 but when it gets to saving >>> the child the row count is 0. >> >> Liberal print statements can help. Find out when/where that child >> bizobj's RowCount goes to 0. >> >> Just a hunch: you don't do a form.requery() after that form.new() do >> you? If so, put a print statement right before and right after that >> requery() call. >> > You are entering the data in the grid. It has to get from where you > enter it to the Biz object to the database.
When the grid cell editor is deactivated, the grid flushes the value to the bizobj. The grid never holds the value of the cell (it only displays the result of asking the bizobj for the value). Paul _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev Searchable Archives: http://leafe.com/archives/search/dabo-dev This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]
