IDatabaseGetHistoryItemsByTableNameAndExtraId Method |
Returns a collection of list items in the user's history for the given table name and extra id.
These are the most recent items the current user have accessed.
Namespace:
SuperOffice.COM.SuperOfficeDB
Assembly:
SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
SyntaxIListTextItems GetHistoryItemsByTableNameAndExtraId(
string i_TableName,
int i_ExtraId
)
Function GetHistoryItemsByTableNameAndExtraId (
i_TableName As String,
i_ExtraId As Integer
) As IListTextItems
Dim instance As IDatabase
Dim i_TableName As String
Dim i_ExtraId As Integer
Dim returnValue As IListTextItems
returnValue = instance.GetHistoryItemsByTableNameAndExtraId(i_TableName,
i_ExtraId)
IListTextItems^ GetHistoryItemsByTableNameAndExtraId(
[InAttribute] String^ i_TableName,
[InAttribute] int i_ExtraId
)
Parameters
- i_TableName
- Type: SystemString
- i_ExtraId
- Type: SystemInt32
Return Value
Type:
IListTextItemsIListTextItems - A collection of history data items
ExamplesGets all history data items from the DocTmpl table
This text may be copied to the notepad, and saved as a *.vbs file. Remember to change the login information.
dim objso
dim objcl
set objso = CreateObject("superoffice.application")
If not (objSO is nothing) Then
set objcl = objso.database.gethistoryitems(130)
if objcl.empty then
msgbox "there are no items for this table"
else
msgbox "there are " & objcl.count & " historyitems in this table."
end if
else
msgbox "could not log in"
end if
set objso = nothing
See Also