@SetProfileField
Syntax
@SetProfileField(DBHANDLE1;TEXTPROFILEFORMNAME;TEXTUSERNAME;TEXTFIELDNAME;VAR);
Description
Sets the content of the profile field named TEXT TEXTFIELDNAME, for the user named TEXT TEXTUSERNAME (may also be ""), using the profile form named TEXT TEXTPROFILEFORMNAME from the database identified by DBHANDLE DBHANDLE1, to the value FN/TEXT/TD/FNLIST/TEXTLIST/TDLIST VAR.
Return value:
On success, TRUE; otherwise @ERROR.
Example: @SetProfileField(DBHANDLE1;TEXTPROFILEFORMNAME;TEXTUSERNAME;TEXTFIELDNAME;VAR);
DBHANDLE1:=@OpenDB("TESTDB\\TEXTDB1.NSF");
TEXTPROFILEFORMNAME:="ProfileTestForm";
TEXTUSERNAME:="Michael Mustermann";
TEXTFIELDNAME:="ProfileFieldName";
VAR:="Test Value Text";
Ret:=@SetProfileField(DBHANDLE1;TEXTPROFILEFORMNAME;TEXTUSERNAME;TEXTFIELDNAME;VAR);
@LogReport(Ret);
DBHANDLE1:=@CloseDB(DBHANDLE1);
The content of the profile field named "ProfileFieldName" for the user "Michael Mustermann" using the profile form named "ProfileTestForm" in the database identified by DBHANDLE DBHANDLE1 to the value "Test Value Text" is set.
Note : This text was machine-translated and may contain inaccuracies.
