Click or drag to resize

IUDefFieldProgId Property

Version-independent field identifier. For use by 3rd party programs/NetServer. Not yet implemented in GUI. May be used by third party products to identify their user defined fields. If you have logged in to the database via NetServer (e.g using 6.web) the default value SuperOffice:n would automatically be set, starting with the first as SuperOffice:1

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

Property Value

Type: String
Examples

Prog id

VB
dim objdb
dim udef
dim udefs
set objdb = CreateObject("superofficedb.database")
If Not (objDB is Nothing) Then
    objdb.login  "<username>", "<password>"
    set cont = objdb.getcontact(1)
    set udefs = cont.udef
    for each udef in udefs
        item = item  & "lable = " & udef.label  & vbcrlf
        item = item  & "HideLabel = " & udef.HideLabel & vbcrlf
        item = item  & "ShortLabel = " & udef.ShortLabel & vbcrlf
        item = item  & "ProgId = " & udef.ProgId & vbcrlf
        item = item  & "________________________________" & vbcrlf
    next
    msgbox item
else
    msgbox  "unable to connect to database"
end if

See Also