Syntax
| SQL.RunQueryCheck(Query[, Timeout])
| ||||||
---|---|---|---|---|---|---|---|
Description
| Checks if a SELECT query for syntax and result.
If the query is good and the result returns at least 1 record found, the function returns TRUE, otherwise FALSE.
| ||||||
See Also
| other SQL.RunQueryxxxxxxxx functions.
| ||||||
Example
| Sub Main() Dim sQuery As String sQuery = InputBox$("Select Query:") If SQL.RunQueryCheck(sQuery) Then MsgBox "Query is OK!" End If End Sub | ||||||