IPersonFormattedAddress Property |
FormattedAddress
Returns the mailing address (No contact person information) of the contact person formatted according to the national rules. Useful when generating address labels. Does not include the contact name. Uses the contact address if the person has no address.
Namespace:
SuperOffice.COM.SuperOfficeDB
Assembly:
SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
Syntaxstring FormattedAddress { get; }
ReadOnly Property FormattedAddress As String
Get
Dim instance As IPerson
Dim value As String
value = instance.FormattedAddress
property String^ FormattedAddress {
String^ get ();
}
Property Value
Type:
StringString – text with the address formatted for label
ExamplesFormattedAddress
This text may be copied to the notepad, and saved as a *.vbs file. Remember to change the login information.
Dim objSO
Set objSO = CreateObject("SuperOffice.Application")
If not (objSO is nothing) Then
MsgBox "Current contact person formatted address is: " & vbCrLf & objSO.CurrentPerson.FormattedAddress, vbInformation + vbOKOnly, "SuperCOM"
else
MsgBox "Unable to connect"
end if
Set objSO = Nothing
See Also