|
|
|
|
- Conditions for using
No disponible con este tipo de conexión
// The Customer data file was declared beforehand in the analysis // by HDeclareExternal Customer.Close() Customer.CancelDeclaration()
Sintaxis
<Result> = <Source>.CancelDeclaration()
<Result>: booleano - True if the operation was performed,
- False if a problem occurs. HError is used to identify the error.
<Source>: Tipo de fuente especificada Corresponds to: - the name of data file (defined in the analysis). If this name is not specified, handles the last data file used.
- the name of query or data source associated with a query (when freeing resources once or has been used).
Observaciones Conditions for using This function must be used ONLY when the relevant data file (or query) is not used anymore! In the following example, . The Table control is populated using BuildBrowsingTable in a parallel process in the background. Therefore, will be called before the table is entirely filled, making this table unusable. HExecuteSQLQuery("test", "select * from customer") BuildBrowsingTable(TABLE_Table1, "test") HCancelDeclaration("test")
Remark: The problem can also occur with a "data source" variable. A "data source" variable declared locally in a process or event (button click, procedure, method, etc.) ONLY exists while this code is run. For this reason, a "warning" is displayed when you are using this type of data source: "the data source will be destroyed at the end of this code". To use on a data file, this data file must be closed. If a query, a subquery or a view uses the data file, cannot be executed, even after calling <Fuente>.Close. The queries or views that are using the data file must be freed beforehand.
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|