This filter property is used to load the collection of actions starting from the specified action ID.
object.StartFromId
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISRecallActionFilter interface |
int
Display the number of the actions loaded on the basis of the selected filter and some information about them.
Dim aFilter
Dim aActions, aAction
Dim i
Dim aLastId
Dim aTotalCount
Dim aMessage
Set aFilter = Profile.CreateRecallActionFilter
aFilter.StartFromId = 0
aFilter.MaxCount = 5 'The size of batch
aLastId = 0
aTotalCount = 0
do
set aActions = Profile.LoadRecallActions(aFilter)
for i = 0 to aActions.Count -1
set aAction = aActions.Item (i)
aMessage = aMessage & vbNewLine & "Action Info:" &_
"Action ID: " & aAction.ID & vbNewLine &_
"Action Code: " & aAction.Code & vbNewLine &_
"Action Description: " & aAction.Description & vbNewLine &_
"Date/Time Modified: " & aAction.DTModified & vbNewLine
aTotalCount = aTotalCount + 1
if aAction.Id > aLastId then aLastId = aAction.Id
next 'i
aFilter.StartFromId = aLastId + 1
aMessage = aMessage & vbNewLine &_
"----------------------------" & vbNewLine
loop until aActions.Count = 0
aMessage = "Actions Count: " & aTotalCount & vbNewLine & aMessage
Profile.MsgBox(aMessage)
In Profile Client v8 on User Interface Actions can be found in
or .