@GetDBLaunchOptions
Syntax
@GetDBLaunchOptions(DBHANDLE1);
@GetDBLaunchOptions(DBHANDLE1;TEXTLIST1);
@GetDBLaunchOptions(DBHANDLE1;TEXTLIST1;RID1;UIDVIEW1;UIDDOC1);
Description
Returns the launch DB options of the DB with the DBHANDLE DBHANDLE1 as a bit vector (FN).
In TEXTLIST TEXTLIST1 the names of the navigators or the view are returned.
In RID RID1 the RID of the DB to which the doclink points is returned (if flag HEX 00400 is set).
In UID UIDVIEW1 the UID of the view in which the document to which the doclink points can be found is returned (if flag HEX 00400 is set).
In UID UIDNOTE1 the UID of the document to which the doclink points is returned (if flag HEX 00400 is set).
TEXTLIST1:
Element1:Navigator name for Flags HEX 00008/00010.
Element2:Web Navigator name for Flag HEX 00100.
Element3:Web View for Flag HEX 00200.
FNOPTIONS:
BIT DEC HEX MEANING if set
01 000001 00001 Do not show "About database" document when database is opened for first time *
02 000002 00002 Show "About database" document if modified *
03 000004 00004 On Database Open: Open "About database" document *
04 000008 00008 On Database Open: Open designated Navigator *
05 000016 00010 On Database Open: Open designated Navigator in its own Window *
06 000032 00020 On Database Open: Launch first attachment in "About database" *
07 000064 00040 On Database Open: Launch first doclink in "About database" *
08 000128 00080 On Database Open from Web: Open "About database" document *
09 000256 00100 On Database Open from Web: Open designated Navigator in its own Window *
10 000512 00200 On Database Open from Web: Launch first document in View *
11 001024 00400 On Database Open from Web: Launch designated doclink *
12 002048 00800 On Database Open from Web: Launch first doclink in "About database" *
13 004096 01000 Preview Pane: Location Bottom Right *
14 008192 02000 Preview Pane: Location Right *
15 016384 04000 Preview Pane: Maximize document preview on database open
16 032768 08000 Unknown 1
17 065536 10000 Unknown 2
18 131072 20000 Unknown 3
* If none of these bits is set, only the flags marked * also apply; the database is reopened at the position where it was last left by the respective user.
* Flag HEX 00010 should always be specified only together with flag HEX 00008, not HEX 00010 without HEX 00008.
* If none of these flags is set, the same options as when opening the DB via Notes are used.
* If none of these flags is set, "Location Bottom" is assumed.
* At most one of the flags can be set.
* At most one of the flags can be set.
* At most one of the flags can be set.
* At most one of the flags can be set.
Example @GetDBLaunchOptions(DBHANDLE1;TEXTLIST1;RID1;UIDVIEW1;UIDDOC1):
DBHANDLE1:=@OpenDB("TEST.NSF");
FNOPTIONS:=@GetDBLaunchOptions(DBHANDLE1;TLNAMES;DOCLINKRID;DOCLINKUIDVIEW;DOCLINKUIDNOTE);
@LogReport(FNOPTIONS);
@LogReport(TLNAMES);
@LogReport(@Text(DOCLINKRID;"*"));
@LogReport(DOCLINKUIDVIEW);
@LogReport(DOCLINKUIDNOTE);
DBHANDLE1:=@CloseDB(DBHANDLE1);
The database is opened, the DB launch options are output, and then it is closed again.
Note : This text was machine-translated and may contain inaccuracies.
