@GetProfileField
Syntax
@GetProfileField(DBHANDLE1;TEXTPROFILEFORMNAME;TEXTUSERNAME;TEXTFIELDNAME);
Description
Returns the contents of the profile field named TEXT TEXTFIELDNAME, for the user named TEXT TEXTUSERNAME (which may also be ""), taking into account the Profile-Form with the name TEXT TEXTPROFILEFORMNAME from the database with the DBHANDLE DBHANDLE1.
Example: GetProfileField(DBHANDLE1;TEXTPROFILEFORMNAME;TEXTUSERNAME;TEXTFIELDNAME);
DBHANDLE1:=@OpenDB("TESTDB\\TEXTDB1.NSF");
TEXTPROFILEFORMNAME:="ProfileTestForm";
TEXTUSERNAME:="Michael Mustermann";
TEXTFIELDNAME:="ProfileFieldName";
Ret:=@GetProfileField(DBHANDLE1;TEXTPROFILEFORMNAME;TEXTUSERNAME;TEXTFIELDNAME);
@LogReport(Ret);
DBHANDLE1:=@CloseDB(DBHANDLE1);
The contents of the profile field named "ProfileFieldName" for the user "Michael Mustermann" taking into account the Profile-Form with the name "ProfileTestForm" from the database with the DBHANDLE DBHANDLE1 to the variable Ret is assigned and output.
Note : This text was machine-translated and may contain inaccuracies.
