8.5

MaritalStatus=""Married"" "
repoObject.SetValue "Users", "FormOfAddress", "Miss", " Gender=""F"" AND
MaritalStatus="""" "
SetValueByID
Updates KeyName with Value in group GroupName, where the keyset's ID matches the ID parameter.
KeyName must exist in GroupName, otherwise an error is raised. The method returns the ID of the keyset
that was updated or -1 if the keyset was not updated.
Syntax
SetValueByID(GroupName: string, KeyName: string, Value: string, ID:
integer): integer64
Note
This method is functionally equivalent to using "SetValue" on the previous page with its Condition parameter set
to "ID=ID".
Examples
JavaScript
repoObject.SetValueByID("Users", "FormOfAddress", "Mr.", 10); // both
methods perform
repoObject.SetValue( "Users", "FormOfAddress", "Mr.", "ID=10" ); // the
same task
VB Script
repoObject.SetValueByID "Users", "FormOfAddress", "Mr.", 10 '' both
methods perform
repoObject.SetValue "Users", "FormOfAddress", "Mr.", "ID=10" '' the same
task
Version
Returns the version of the DLL library used by the Repository.