On Dec 10, 2006, at 6:34 AM, Dr R.J.Appleton wrote:

> Thank you for this - it works fine apart from updating zzzname in the
> grid to reflect edits made in the edit form.

        Well, grids really aren't the place to do this. You could set the  
editor for the column to a dropdown list control, following the  
example on the Wiki, but a better solution is not to edit complex  
stuff in a grid.

> I can handle this by overwriting setFieldVal() in the business  
> object to
> update zzzname if the record has changed and the field being set is  
> yyy.zzz
>
> However setFieldVal() can be called more than once as a result of a
> single edit change, so I was wondering if there was a better way of
> doing this.

        Probably bizobj.validateField(); let me know if the docs aren't  
sufficient to understand how to code it.

-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users

Reply via email to