copy_properties_from

Declaration

copy_properties_from (name: STRING)

Description

Loads all query properties from query name into the current query.

If you have stored a query with all of the properties you want, and want another query that is almost the same, use this function to make a copy of that query.

See Also

database functions
Database

Example

script make_queries is
  copy_properties_from ('section1_questions')
  set_column_search_string ('answered', 'yes')
  save_query ('section1_answered_questions')
end