Click or drag to resize

ISaleUDef Property

UDef A collection of the sale panels user defined fields

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

Property Value

Type: SOUDefFields
SOUdefFields – collection of SOUdefField object
Examples

UDef

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

VB
Dim objSO
Dim result
Set objSO = CreateObject("SuperOffice.Application")
If not (objSO is nothing) Then
    if objSO.CurrentSale.Udef.Count > 0 then
        MsgBox "The sale panel has user defined fields", vbInformation + vbOKOnly, "SuperCOM"
    else
        MsgBox "No user defined fields defined on the sale panel."
    end if
else
    MsgBox "Unable to connect to database"
end if
Set objSO = Nothing

See Also