IScriptingEventsOnCurrentPersonFieldChanged Method |
FieldName is name of the field being changed. e.g.: 'contact.name' or 'address.city'
Namespace:
SuperOffice.COM.ScriptEvents
Assembly:
Scripting.Interop (in Scripting.Interop.dll) Version: 8.0.0.0
Syntaxvoid OnCurrentPersonFieldChanged(
string fullFieldName
)
Sub OnCurrentPersonFieldChanged (
fullFieldName As String
)
Dim instance As IScriptingEvents
Dim fullFieldName As String
instance.OnCurrentPersonFieldChanged(fullFieldName)
void OnCurrentPersonFieldChanged(
[InAttribute] String^ fullFieldName
)
Parameters
- fullFieldName
- Type: SystemString
This gives you the table.fieldname of field that's changed.
ExamplesDescription
This text may be copied to the notepad, and saved as a *.vbs file.
Sub OnCurrentPersonFieldChanged(fieldname)
if fieldname = "person.position_idx" then
SOMessageBox "The persons position is changed, should you update person interests?"
end if
End Sub
See Also