auto_store_query

Declaration

auto_store_query: BOOLEAN

Description

If true, and the current query is named, then an automatic call to save_query is made using the current name whenever a call to load_query is made. If this is false, then the query is unchanged by default when another query is made current.

See Also

save_query
load_query
database functions
Database

Example

script setup_default_query is
  -- set up a query that contains all questions
  -- then shut off auto_store_query so it won't
  -- be saved if changes are made later.
  reset_column_search_strings
  set_column_search_string ('type', 'question')
  save_query ('questions')
  auto_store_query   :=   False
end