Click or drag to resize

IDatabaseOwnerCountryId Property

Returns the id of the owner country The country a contact is saved with, affects the phone number format, and the address layout.

Namespace:  SuperOffice.COM.SuperOfficeDB
Assembly:  SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
Syntax
int OwnerCountryId { get; }

Property Value

Type: Int32
Long - The database internal ID of the country (country_id)
Examples

Get the country the owner contact is located in

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 =  createobject("superofficedb.database")
If not (objSO is nothing) Then
    objso.login  "<userid>", "<password>" 
    msg  = "owner contact id = " & objso.ownercontactid
    msg  = msg & vbcrlf & "owner country id = " &  objso.ownercountryid
    msgbox  msg, vbinformation, "supercom"
else
    msgbox  "unable to log in"
end if
set objso = nothing

See Also