>All,
>
>I set default values for my view in the OnNew method of my business object. I use the view in a cBizObjNoMaintForm. I need a way to ignore the default values when determining if the record is empty when leaving the form. I get a "Do you want to save the changes first" message.
>
>Any ideas?
>
>Rex
That message comes from the IsChanged() method of the primary business object. It uses the field state, so if you use SetFldState() in your OnNew() you can trick it into thinking nothing has changed. Kevin does this when he sets fields having default values defined in the table.