Database.Connect
From Xojo Documentation
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site! |
Method
Connects to the database so that you can begin using it.
![]() |
This item was deprecated in version 2019r2. Please use Database.Connect (above) as a replacement. |
Method
Connects to the database so that you can begin using it. Before proceeding with database operations, test to be sure that Connect returns True.
Notes
A DatabaseException will be raised if the connection could not be made. |
Sample Code
This example connects to the database object in the variable db: