Home > Language Reference > Classes > Database

Info Property

Returns a DatabaseInfo object.

Syntax

Public Property Get Info() As DatabaseInfo

Remarks

The Info property returns a DatabaseInfo object allowing access to the different attributes of the database to which the Database object refers. You can use this property to read or modify the characteristics of an open database. If no database has previously been opened, the return value is Nothing.

It is strongly recommended to not use the Delete, FindByName, FindFirstByTypeCreator and FindNext methods of the DatabaseInfo object returned by this property as this can place the system into an unstable state.

The following example uses this property to display in a dialog box the last modification date of the database containing the application itself:

Private Sub Button1_Click()
  MsgBox CStr(App.Info.Modified)
End Sub

System requirements

SystemMinimal versionRemarks
Palm OSPalm OS 3.0N/A