John Fabiani has narrowed down the cause. I have 2 bizobjects with the same DataSource value in use on a form, performing different functions (one has table records and the another an aggregate). The first bizobj only has 1 record, the second has 4. When I click on the grid tied to the second bizobj, it is "finding" the first bizobj and trying to manipulate it, because the DataSource string is being passed to the move code.
dGrid._onGridCellSelected (line #3324) If not self.Form.moveToRowNumber(newRow, bizobj.DataSource): It looks like if you would pass the bizobj ref itself vs the bizobj.DataSource, it may solve the problem. Larry -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul McNett Sent: Friday, October 24, 2008 11:12 AM To: Dabo Users list Subject: Re: [dabo-users] dGrid error moving pointer Ed Leafe wrote: > On Oct 24, 2008, at 9:50 AM, <[EMAIL PROTECTED]> > <[EMAIL PROTECTED]> wrote: > >> I don't think I am doing anything out of the ordinary. I opened the >> form and selected a record for my primary bizobj. The grid in >> question is tied to a child bizobj and displays correctly. All I am >> doing is click on the grid to select a record. Is it possible that >> the issue is due to my assigning the dGrid.Datasource to a bizobjref >> vs the string in the bizobj.Datasource property? > > > It's hard to say. I would make sure that the correct bizobj is being > called; IOW, if you are moving the child but somehow the parent bizobj > is being called, you'd see that error. Also, don't discount the possibility that the point where you break in dCursorMixin could be related to a child bizobj of the bizobj you are interested in. The child has only 1 record, while the parent has the 4 you were expecting. Paul [excessive quoting removed by server] _______________________________________________ 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]
