Previous Topic

Next Topic

Inhoudsopgave

Book Index

OnDataChanged Event

Event Event OnDataChanged()

Description

Event that is fired when the value of one of the fields in a record has changed.

Remarks

The event is fired for every field that is modified. Use the Record.X_FieldChanged Property to find out which field was modified.

Code Snippet

Sub OnDataChanged()

Dim ModifiedField

Dim FieldName

Dim Value

ModifiedField = Record.X_FieldChanged

FieldName = Record.FieldNames( ModifiedField )

Value = Record.FieldValues( FieldName )

MsgBox "Modified field (" & FieldName & ") in " & Value

End Sub