Selecting or deselecting in a table the record in the file buffer¶
table_set_selected_key() |
Select/deselect the record in the file buffer |
SYNTAX
table_set_selected_key(table_id, TRUE | FALSE)
This function is for use with tables whose source object is a file.
It sets the record whose main index key is currently in the file’s record buffer to the specified state in the table.
If TRUE is specified, the line is selected.
If FALSE is specified, the line is deselected.
The state is set whether or not the corresponding record actually exists in the file when the function is called.
Returns zero (OKAY) if successful.
Returns a non-zero value if the source object is not a file.
RELATED TOPICS |