Previous Topic

Next Topic

Inhoudsopgave

Book Index

Database Property

Property Property DataBase: Database_Object (R)

Description

Creates an object that manages data handling within the default Isah database.

Result

Returns a DataBase object.

Example

Sub Main()

' Initiate the variables

Dim DB

Dim Qry

' Create an entry to the Isah database

Set DB = Application.DataBase

' Create a read-only query within the Isah database

Set Qry = DB.CreateQuery( "Select CountryCode, Description From Country" )

' Open the created query, carry out a lookup and close the query

Qry.Open

Qry.Lookup

Qry.Close

End Sub