@ScanDBDeleted
Syntax
@ScanDBDeleted(DBHANDLE1;NOTECLASSES2);
@ScanDBDeleted(DBHANDLE1;NOTECLASSES2;MODUS3);
@ScanDBDeleted(DBHANDLE1;NOTECLASSES2;MODUS3;SINCE4);
Description
Searches for all deleted documents in the database with DBHANDLE DBHANDLE1 and the NOTECLASS(EN) NOTECLASSES2.
The optional parameter TD SINCE4 restricts the search to documents that have been deleted since the specified date. To search independently of this date (default), the @Function @AnyAllDay returns the appropriate time-date value; see @AnyDay/@AllDay/@AnyAllDay).
NOTECLASSES2:
DEC BIT Meaning
00000 XX No Notes No documents
00001 01 Documents Data documents
00002 02 Policy Note Database policy document
00004 03 Form Note Form 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 Help database document
00512 10 Filter Note Macro design documents
01024 11 Field Note Field design documents
02048 12 Replication Note Replication documents
04096 13 Private Design Private design documents
32768 16 Default Note of Each Default document of each type
32767 01-15 Notes All documents
32766 02-15 All Non-Document Notes All non-data documents
(To specify several document classes, add the values of the corresponding classes or build them using @BitVektor .)
MODUS3:
0= Default (=IDList)
1= Same as 0 (=IDList)
2= UNIDList.
Example: @ScanDBDeleted(DBHANDLE1;NOTECLASSES2)
DBHANDLE1:=@OpenDB("TEST.NSF");
@LogReport(@ScanDBDeleted(DBHANDLE1;32767));
DBHANDLE1:=@CloseDB(DBHANDLE1);
A database is opened, all deleted documents are selected, their NoteIDs are output, and finally the database is closed again.
Note : This text was machine-translated and may contain inaccuracies.
