RecentFiles (Collection)

Member of:

Application object

Description:

Collection of strings, that represent the list of open Interactive Reporting documents.

Tip:

All collections have the “Item(NameOrIndex)” method. This is the default method for all collections that returns collection items at a particular index or by name. Use brackets ([]) to represent calls to the Item (Method). For example, these statements are identical: myItem = Documents[1] myItem = Documents.Item(1) myItem = Documents["StartUp.bqy"] myItem = Documents.Item("StartUp.bqy")

Example:

This example prints lists of recent files to the Console window:

for (j = 1; j <= RecentFiles.Count ; j++)     
Console.Writeln( "File #"+j+" ="+ RecentFiles[j])

Methods:

Function Item(Index As Number)

Properties:

Read-only: Property Count As Number