Hi,

Simple. very simple view. Just 5 cWebForm. In a cWebPanel.

All cWebForms are Set pbReadOnly to True

Simple ddo structure with one main file which has two parents.
Each DD object is set to read_only.

The view is being called from a dashboard by argumenting the NavigateData with the Table, RowID and the NavigateData.bReadOnly set to True.

The view in the browser can not be changed. But when I exit the view generates a "Save Changes before closing?" happens!!!!


The originating call is Procedure UpdateDataBinding in cWebBaseDeo.pkg.
That call:
Code:
                  If (iFile > 0) Begin
                    WebGet psValue to sValue
                    Set private_pbIgnoreOnValueChanged to True                        // Don't process the DDO's File_Field_Value_Changed event!
    ====>       Set File_Field_Changed_Value of hoServer iFile iField to sValue   // Use File_Field because the field doesn't have to be in the server

                    Get File_Field_DynamicEntryOptions of hoServer iFile iField to iDDOOptions
                    Move (IsFlagIn(DD_NoPut, iDDOOptions)) to bNoPut
                    If (bNoPut) Begin
                        // this tells the DD that this is a DEO update on a noput field, which should only
                        // happen with foreign index fields (noput=T,noenter=F). This stops the save update
                        Set File_Field_NoPutValueChangedByDeo of hoServer iFile iField to True
                    End
                    Set private_pbIgnoreOnValueChanged to False
                End
Why is it sending File_Field_Changed_Valuie???



Peter