@OpenProfileNote
Syntax
@OpenProfileNote(DBHANDLE1;TEXT2;NOTEHANDLE3);
@OpenProfileNote(DBHANDLE1;TEXTLIST2;NOTEHANDLE3);
Description
Opens a profile document in the DB with the DBHANDLE DBHANDLE1 and returns the opened NOTEHANDLE NOTEHANDLE3 for this profile document.
TEXT/TEXTLIST TEXT2/TEXTLIST2:
If only a TEXT is specified, this is the profile form name.
The profile document for global entries is opened.
If a TEXTLIST is specified, the first element is interpreted as the profile form name and the second as the user name.
The TEXTLIST must contain at least one element.
Example: @OpenProfileNote(DBHANDLE1;TEXT2;NOTEHANDLE3);
DBHANDLE1:=@OpenDB("TESTDB\\TESTDB1.NSF");
TEXT2:="ProfileFormName";
NOTEHANDLE3:=@OpenProfileNote(DBHANDLE1;TEXT2;NOTEHANDLE3);
@LogReport(NOTEHANDLE3);
@PrtVStack("NOTEHANDLE3";0;2048);
NOTEHANDLE3:=@CloseNote(NOTEHANDLE3;0);
DBHANDLE1:=@CloseDB(DBHANDLE1);
The global profile document (no user name) in the DB with the DBHANDLE DBHANDLE1 for the profile form named "ProfileFormName" is opened, and the opened NOTEHANDLE NOTEHANDLE3 returned.
The fields of the opened profile document are output in the APILog output.
The profile document is then closed again unchanged.
Example: @OpenProfileNote(DBHANDLE1;TEXTLIST2;NOTEHANDLE3);
DBHANDLE1:=@OpenDB("TESTDB\\TESTDB1.NSF");
TEXTLIST2:="ProfileFormName":"User Name";
NOTEHANDLE3:=@OpenProfileNote(DBHANDLE1;TEXTLIST2;NOTEHANDLE3);
@LogReport(NOTEHANDLE3);
@PrtVStack("NOTEHANDLE3";0;2048);
NOTEHANDLE3:=@CloseNote(NOTEHANDLE3;0);
DBHANDLE1:=@CloseDB(DBHANDLE1);
The profile document for the user named "User Name", in the DB with the DBHANDLE DBHANDLE1 for the profile form named "ProfileFormName" is opened, and the opened NOTEHANDLE NOTEHANDLE3 returned.
The fields of the opened profile document are output in the APILog output.
The profile document is then closed again unchanged.
Note : This text was machine-translated and may contain inaccuracies.
