Function EN Version 5.00

@SetDBObjectStoreID

Database

Syntax

@SetDBObjectStoreID(DBHANDLE1;RID2);

Description

This @Function associates the database with DBHANDLE DBHANDLE1 with the Notes object store database with RID RID2.

Return value:
On success, TRUE, otherwise @ERROR.

Example: @SetDBObjectStoreID(DBHANDLE1;RID2);

dbh1:=@OpenDB("TESTDB.NSF");
dbh2:=@OpenDB("OBJSTORE.NSF");
RID2:=@GetDBID(dbh2);
Ret:=@SetDBObjectStoreID(dbh1;RID2);
dbh2:=@CloseDB(dbh2);
dbh1:=@CloseDB(dbh1);

In this example, the database "TESTDB.NSF" the database "OBJSTORE.NSF" is assigned as the Notes object store database.

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