TMedQuery.Overwrite TMedQuery

property Overwrite: Boolean ;

Description

Both Scrollable and Permanent queries need to create table in SQL database. For Permanent queries, table name should be specified as QueryName property. For Scrollable queries it can be specified, or an attempt to create unique name is made when query is being opened.

Overwrite property value specifies what to do if a table with specified/generated name already exists in SQL database. If Overwrite is true, old table is silently overwritten. Otherwise, exception is raised.