Cool Ed, I tried requery of the Form and refresh of the grid, but update of the grid is the solution. Thank you, that's it for the moment.
-- Reto > -----Ursprüngliche Nachricht----- > Von: [email protected] [mailto:[email protected]] > Im Auftrag von Ed Leafe > Gesendet: Sunday, January 02, 2011 6:52 PM > An: Dabo Users list > Betreff: [SPAM]Re: [dabo-users] Grid with prior- and next-button > > On Jan 2, 2011, at 10:59 AM, bluewin wrote: > > > Ed thank you for the quick answer. I found the problem, I had to add > > self.addBizobj(biz) > > to the InitAll-Event. > > 1) Attachements are striped form the mail. Is it possible to copy a > > screeshot into the mail or will it be striped too? > > Unless it's ASCII-art :) > > There are a ton of free services that allow you to post images; I > like http://www.postimage.org/ > > > 2) The code of the onHit-Event of the next-Button is: > > self.Form.next() > > self.Form.tbRmTe.Value = self.Form.gridClient.CurrentCellValue > > In the TextBox with the RegID tbRmTe I see the CurrentCellValue of > the last > > and not the current record, why? gridClient is the RegID of the grid. > > Is the grid's DataSource the main bizobj of the form? If not, > moving the pointer in the bizobj won't move the selection in the grid. > And even if it is tied to the form's PrimaryBizobj, the grid sometimes > needs to be "told" to update, so perhaps try adding a call to the > grid's update() method to force it to move to the correct row before > trying to get the value. > > > > -- Ed Leafe > > > > _______________________________________________ > 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/7B2FEB94-8790-4D11-9D6C- > [email protected] _______________________________________________ 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/001701cbaab6$dbed6890$93c839...@[email protected]
