Function EN Version 1.90

@DeleteNoteByPosition

Database Note View

Syntax

@DeleteNoteByPosition(DBHANDLE1;VIEWHANDLE2;VIEWPOSITION3);
@DeleteNoteByPosition(DBHANDLE1;VIEWHANDLE2;VIEWPOSITION3;FNUPDFLAGS4);

Description

Deletes a document in the database with DBHANDLE DBHANDLE1 in the view with VIEWHANDLE VIEWHANDLE2 at position VIEWPOSITION/VIEWPOS VIEWPOSITION3. The document must not be opened. If the operation was executed successfully, the @Function result is TRUE; otherwise FALSE. Options can be specified in FN FNUPDFLAGS4.

FNUPDFLAGS4:
To combine the options, the values must be added.
DEC   Meaning
0001   Force the change in any case (default and should always be specified)
0512   Deletion without deletion stub

Example: @DeleteNoteByPosition(DBHANDLE1;VIEWHANDLE2;VIEWPOSITION3)

DBHANDLE1:=@OpenDB("TEST.NSF");
VIEWHANDLE2:=@OpenView(DBHANDLE1;"TEST VIEW");
VIEWPOSITION3:=1:1:1:0:0:0:0:0:0:0;
@DeleteNoteByPosition(DBHANDLE1;VIEWHANDLE2;VIEWPOSITION3);
VIEWHANDLE2:=@CloseView(VIEWHANDLE2);
DBHANDLE1:=@CloseDB(DBHANDLE1);

A database is opened, a document is searched for and deleted, and finally the database is closed again.

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