Re: [dabo-users] forcing bizobj to recognize ui change & exception

Author: Ed Leafe

Posted: 2009-07-12 at 11:38:27

On Jul 12, 2009, at 9:03 AM, Miguel Lopes wrote:

> If I issue self.PrimaryBizobj.getChangedRows(includeNewUnchanged=True)

> has a first call on my onAppModuleNav(self, evt) method I get an empty

> list!

OK, now you're crossing levels way too deeply. The form should only

work through the main methods that talk to the bizobj such as

confirmChanges().

You say that you've changed some values, but confirmChanges() did not

do anything, indicating that there were no changes in the bizobj. Can

you verify that the controls that were changed were indeed bound to

the bizobj? I.e., that their DataSource was the bizobj's DataSource,

and that the DataField was indeed a column in the primary bizobj's

data set? Check for capitalization errors, etc.

-- Ed Leafe

©2009 Ed Leafe