Author: johnf
Posted: 2008-11-11 at 10:54:06
On Monday 10 November 2008 03:22:53 pm johnf wrote:
> On Monday 10 November 2008 03:14:42 pm johnf wrote:
> > HI,
> >
> > Is there a way to tell Dabo to ignore a bizobj during a save()?
>
> I mean is there a property I can set to true to force Dabo to ignore the
> bizobj?
OK this is what I did to get what I wanted.
First the reason for a the need to get Dabo to bypass the save().
I have several grids based on a view. Can't update, insert or delete using a
view or you get an error.
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().
In the beforenew() I issued a self.clearall(). This cleared the data
assoicated with the grids.
So now I instead of a empty grid I have the word "None" in at least one of the
columns the others are blank. I think it looks better than an empty grid.
--
John Fabiani