"setCurrentLine"
Sets the current line.
Synopsis
setValue(string shape, "setCurrentLine", int n, string Name1, <type1>
Value1, [string Name2, <type2> Value2, ...]);
shape.setCurrentLine(int n, string Name1, <type1> Value1, [string Name2,
<type2> Value2, ...]);
Parameters
Parameter | Description |
---|---|
shape | Name of the object |
n | Number of key conditions |
Name1 | Name of key column 1 to n |
Value1 | Key value 1 to n |
Description
The line with the key values (Value1 to n) in the specified columns (Name1 to n) will be set as the current line. If no line matches the key, no change will be made.
Example
main()
{
TABLE1.setCurrentLine(2, "Surname", "Miller", "Forename", "Peter");
}
Assignment
Table