column_value

Declaration

column_value (name: COLUMN; index: INTEGER): STRING

Description

Get the value of the column name for the item at position index in the current query.

See Also

set_column_value
database functions
Database

Example

script reset_test1 is
  load_query ('test1')
  if column_value ('section', 1) = '1' then
    -- first item is in section 1 (user-assigned fields)
    -- do something here
  end
end