|
|
|
|
|
- How to initialize a Data Source variable
HDataSourceKnown (Function) In french: HSourceDeDonnéesConnue Determines if a data source has been initialized. This function prevents errors such as "You called XXX . The YYY data source has not been initialized". Difference with function HQueryExecuted function: The HDataSourceKnown FUNCTION function determines whether the data source is known to the HFSQL engine, regardless of its content. HQueryExecuted can only be used with queries. MaVue is Data Source
IF HDataSourceKnown(MaVue) = False THEN
HCreateView(MaVue, CLIENT, "*", "NOM,VILLE", "NOM]='A'", hViewDefault)
END
Syntax
<Result> = HDataSourceKnown(<Data source to check>)
<Result>: Boolean - True if the data source has been initialized,
- False otherwise. HErrorInfo returns more details about the problem.
<Data source to check>: Data Source Data Source variable to be checked. This data source can correspond to: - an external data file,
- an SQL query,
- a view.
Remarks How to initialize a Data Source variable The initialization of a Data Source variable depends on its content: For more details, see the help page on the Data Source variable type. Business / UI classification: Business Logic
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|