@OpenView
Syntax
@OpenView(DBHANDLE1;NAME2);
@OpenView(DBHANDLE1;VIEWNOTEID);
@OpenView(DBHANDLE1;NAME2;FNFLAGS3);
@OpenView(DBHANDLE1;VIEWNOTEID;FNFLAGS3);
Description
Opens in the database with the DBHANDLE DBHANDLE1 a view/folder named TEXT NAME2 (or with the NOTEID VIEWNOTEID) and returns the VIEWHANDLE returned. Options can be specified in the parameter FN FNFLAGS3 can be used to specify options.
FN FNFLAGS3:
BIT DEC HEX Meaning if set
00 00000000 00000000 default
01 00000001 00000001 Open rebuilt index (the index is rebuilt when opened)
02 00000002 00000002 Open no update (the index is not updated when opened)
Example: @OpenView(DBHANDLE1;NAME2)
DBHANDLE1:=@OpenDB("TEST.NSF");
VIEWHANDLE:=@OpenView(DBHANDLE1;"TEST VIEW");
VIEWHANDLE:=@CloseView(VIEWHANDLE);
DBHANDLE1:=@CloseDB(DBHANDLE1);
A database is opened, a view is opened and closed again, and finally the database is closed again.
Note : This text was machine-translated and may contain inaccuracies.
