@GetOIDComponents
Syntax
@GetOIDComponents(OID;RETTDDBID;RETTDNOTE;RETTDINSTANCETD;RETFLOATINSTANCENUMBER);
Description
Returns the components of the OID OID in TD RETTDDBID, TD RETTDNOTE, TD RETTDINSTANCETD and FLOAT RETFLOATINSTANCENUMBER.
TD RETTDDBID is the database ID of the database in which the document was created.
TD RETTDNOTE is the document ID.
TD RETTDINSTANCETD is the last modification time of this document.
FLOAT RETFLOATINSTANCENUMBER is the number of changes made to this document.
Example: @GetOIDComponents(OID;RETTDDBID;RETTDNOTE;RETTDINSTANCETD;RETFLOATINSTANCENUMBER);
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);
OID:=@GetNoteOID(NOTEHANDLE1);
Ret:=@GetOIDComponents(OID;RETTDDBID;RETTDNOTE;RETTDINSTANCETD;RETFLOATINSTANCENUMBER);
@LogReport(Ret);
@LogReport(RETTDDBID);
@LogReport(RETTDNOTE);
@LogReport(RETTDINSTANCETD);
@LogReport(RETFLOATINSTANCENUMBER);
NOTEHANDLE1:=@CloseNote(NOTEHANDLE1;0);
VIEWHANDLE:=@CloseView(VIEWHANDLE);
DBHANDLE:=@CloseDB(DBHANDLE);
A database is opened, a document is searched for, opened, dessen OID erwithtelt and the components the OID output, again closed and finally the database is closed again.
Note : This text was machine-translated and may contain inaccuracies.
