IPersonUseAsMailingAddress Property |
Use person address instead of contact address?
Is the Use as mailing address marked so the person address should be used in stead of the company address?
Namespace:
SuperOffice.COM.SuperOfficeDB
Assembly:
SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
Syntaxbool UseAsMailingAddress { get; set; }
Property UseAsMailingAddress As Boolean
Get
Set
Dim instance As IPerson
Dim value As Boolean
value = instance.UseAsMailingAddress
instance.UseAsMailingAddress = value
property bool UseAsMailingAddress {
bool get ();
void set (bool value);
}
Property Value
Type:
BooleanBoolean – True if marked
ExamplesUseAsMailingAddress
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 "The current person use as mailing address setting" & objSO.CurrentPerson.UseAsMailingAddress, vbInformation + vbOkOnly, "SuperCOM"
else
MsgBox "Unable to connect to database"
end if
Set objSO = Nothing
See Also