Click or drag to resize

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
Syntax
IListTextItems GetHistoryItemsByTableNameAndExtraId(
	string i_TableName,
	int i_ExtraId
)

Parameters

i_TableName
Type: SystemString
i_ExtraId
Type: SystemInt32

Return Value

Type: IListTextItems
IListTextItems - A collection of history data items
Examples

Gets 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.

VB
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