Click or drag to resize

IPersonMiddleName Property

MiddleName From CRM 5 Release 5.5 you may enable the use of middle name. This field is not visible in the person dialog before you enable this preference, but you may set the middle name property and see it in the person archive

Namespace:  SuperOffice.COM.SuperOfficeDB
Assembly:  SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
Syntax
string MiddleName { get; set; }

Property Value

Type: String
String – the middle name
Examples

Middlename

This text may be copied to the notepad, and saved as a *.vbs file. Remember to change the login information.

VB
Dim objSO
Set objSO = Nothing
Set objSO = CreateObject("SuperOffice.Application")
If not (objSO is nothing) Then
    set soPerson = objSO.CurrentPerson
    msgbox soperson.firstname & " " & soperson.middlename & " " & soperson.lastname
    soPerson.middlename = "van"
    soperson.save
    msgbox soperson.firstname & " " & soperson.middlename & " " & soperson.lastname
else
    MsgBox "Unable to connect to database"
end if
Set objSO = Nothing

See Also