Re: [dabo-users] bizobj that are read only

Author: johnf

Posted: 2008-11-11 at 11:17:28

On Tuesday 11 November 2008 07:57:57 am Ed Leafe wrote:

> On Nov 11, 2008, at 9:54 AM, johnf wrote:

> > On two of my grids I wanted to have the word "None" appear when the

> > grid had

> > no data available. I decided I could issue a self.new() in the case

> > when

> > self.rowcount==0 (no data available and issue a new() in the

> > requery() ) and

> > set the defaultvalues to either a blank or the word "None". This

> > worked well.

> > But of course Dabo saw it as a change and when the form issued a

> > save().

>

> Did you set these values in onNew()? That's what that method is for:

> setting default values that don't "dirty" the record.

>

> -- Ed Leafe

That might work too.

--

John Fabiani

©2008 johnf