update_query

Declaration

update_query

Description

This function only needs to be called if update_when_queried is false. If update_when_queried is true, the query is automatically kept synchronized with the current column search strings (set by set_column_search_string).

See Also

update_when_queried
set_column_search_string
database functions

Database

Example

script build_query is
  -- turn off 'update_when_queried' so that query
  -- doesn't waste time updating the partial search
  -- arguments
  update_when_queried := False
  reset_column_search_strings
  set_column_search_string ('type', 'question')
  set_column_search_string ('section', '1')
  update_query
    -- this updates the query, but doesn't turn automatic updating back on
end