Object

DatabaseQuery Class

The control by which you query databases. You ordinarily use a DatabaseQuery tool by binding it to the ListBox that is used to display the results of SQL queries.

Events
QueryComplete

Properties
Database
SQLQuery

Methods
RunQuery

Alternatively, you can build databases without the DatabaseQuery control using only the commands in the Database theme.

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

# Examples

See the examples in the chapter "Creating Databases with REALbasic" in the User's Guide.

# See Also

Database, Database4DServer, DatabaseField, DatabaseRecord, MySQLDatabase, ODBCDatabase, OpenBaseDatabase, OracleDatabase, PostgreSQLDatabase, REALSQLdatabase, RecordSet classes; OpenCSVCursor, OpenDBFCursor, OpenDTFDatabase functions; DataControl control.