Difference between revisions of "DatabaseQuery"

From Xojo Documentation

m (Text replacement - "{{Deprecated" to "{{DeprecatedItem")
 
Line 1: Line 1:
{{Deprecated | version=2018r4}}
+
{{DeprecatedItem | version=2018r4}}
 
{{ClassBox
 
{{ClassBox
 
| super=[[Object]]
 
| super=[[Object]]

Latest revision as of 19:05, 3 September 2020

Class (inherits from Object)

The control by which you query databases. Because its super class is Object, you can instantiate it with code, eliminating the need to actually add the control to a window.

Events
QueryComplete
Properties
Database SQLQuery
Methods
RunQuery

Notes

This class provides a very simply way to run a database query. For more flexibility and error handling, you are better off instead using the Database.SQLSelect method on on of the specific database classes.

See Also

Database, DatabaseField, DatabaseRecord, MySQLCommunityServer, ODBCDatabase, OracleDatabase, PostgreSQLDatabase, REALSQLdatabase, RecordSet classes; DataControl control.