DatabaseQuery

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

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 simple 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.