Function EN Version 4.50

@Accessed

Note NotesSystem TimeDate

Syntax

@Accessed(NOTEHANDLE1)

Description

Returns the time of the last access to the document with the NOTEHANDLE NOTEHANDLE1 back.

Example: @Accessed(NOTEHANDLE1)

DBHANDLE:=@OpenDB("TEST.NSF");
VIEWHANDLE:=@OpenView(DBHANDLE;"TEST VIEW");
VIEWPOSITION:=1:1:1:0:0:0:0:0:0:0;
NOTEHANDLE1:=@OpenNoteByPosition(DBHANDLE;VIEWHANDLE;VIEWPOSITION;NOTEHANDLE1);
@LogReport(@Accessed(NOTEHANDLE1));
NOTEHANDLE1:=@CloseNote(NOTEHANDLE1;0);
VIEWHANDLE:=@CloseView(VIEWHANDLE);
DBHANDLE:=@CloseDB(DBHANDLE);

A database is opened, a document is searched for and opened, the time/date value of its last access is output, the document is closed again, and finally the database is closed again.

Note : This text was machine-translated and may contain inaccuracies.