LOTUSSCRIPT /COM/OLE のクラス


例:Query プロパティ
次のスクリプトは、ビューエントリコレクションを作成した検索文字列を表示します。

Dim session As New NotesSession
Dim db As NotesDatabase
Dim view As NotesView
Dim vc As NotesViewEntryCollection
Set db = session.CurrentDatabase
Set view = db.GetView("By Category")
view.AutoUpdate = False
Set vc = view.GetAllEntriesByKey("Cars")
Messagebox "Query text:" & vc.Query

関連項目