LOTUS CONNECTORS
Defined In
LCField
Syntax
Dim variablename As New LCField(type, count)
Parameters
Option Public
Uselsx "*lsxlc"
Sub Initialize
Dim session As New LCSession
' In an LEI Scripted Agent, use the following syntax instead:
' Dim session As New LCSession ("mySession")
Dim person As New LCField(LCTYPE_TEXT, 10) ' sufficient space to
'store 10 "rows" of name information.
Dim dateOfBirth As New LCField(LCTYPE_DATETIME, 10) ' ten dates
Dim outputFields As New LCFieldlist(10, LCFIELDF_KEY) ' a field list
'for 10-element fields.
Call outputFields.IncludeField(1, person, "PERSON")
Call outputFields.IncludeField(2, dateOfBirth, "BIRTH_DATE")
' outputFields is ready to be used to "insert" or "update"
' up to 10 records of name/birthdate simultaneously
' (once you put data in the fields). This could instead
' have been done using the LCFieldlist.Append method, making
' it unnecessary to use the New method of LCField.