Execute
- Last UpdatedNov 17, 2021
- 1 minute read
The Execute method executes the SQL query defined in the SQLString property.
Syntax
[Result=] aaHistClientActiveDataGrid.Execute();
Return Value
True = Execution is successful; False = Execution unsuccessful.
Remarks
If the Execute method fails, the data grid is cleared and an error is raised.
The most typical conditions that cause Execute to fail are:
-
The specified server is not running or connection to it is not available.
-
The server assigned to the ServerName property is invalid or not found.
-
The username assigned to the UserName property is invalid or not found.
-
The password assigned to the Password property is invalid or not associated with the specified UserName on the specified ServerName.
-
There is a syntax error in the SQLString property.
-
The DatabaseName property was not assigned or the wrong database was specified.
-
The BusinessObjectServer property is set to an HTTP server that does not exist, or the HTTP server specified is not running