Function EN Version 2.10

@GetNoteClass

Note NotesSystem

Syntax

@GetNoteClass(NOTEHANDLE1);

Description

Returns the NOTECLASS (see NOTECLASSES) of the document with the NOTEHANDLE NOTEHANDLE1.

FN NOTECLASS:
DEC   BIT   meaning

00000   XX   No Notes   no documents
00001   01   Documents   data documents
00002   02   Policy-Note   sub-database document
00004   03   Form-Note   formn-Design-documents
00008   04   view-Note   view-Design-documents
00016   05   Icon-Note   icon-document
00032   06   Design-Collection-Note   view-documents
00064   07   ACL-Info-Note   ACL-Info-document
00128   08   Help-Index-Note   
00256   09   Help-Note   Hilfe-DB-document
00512   10   Filter-Note   Macro-Design-documents
01024   11   Field-Note   field-Design-documents
02048   12   Replication-Note   replication-documents
04096   13   Privat-Design-Note   Private-Design-documents

32768   16   Default-Note of Each   Von jedem the Vorgfrome-document

32767   01-15   Notes   all documents
32766   02-15   All Non-Document-Notes   all non data documents

Example: @GetNoteClass(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(@GetNoteClass(NOTEHANDLE1));
NOTEHANDLE1:=@CloseNote(NOTEHANDLE1;0);
VIEWHANDLE:=@CloseView(VIEWHANDLE);
DBHANDLE:=@CloseDB(DBHANDLE);

A database is opened, a document is searched for, opened, dessen NOTECLASS output, again closed and finally the database is closed again.

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