LOTUSSCRIPT /COM/OLE のクラス


例:Columns プロパティ
次のスクリプトは walnut.nsf の指定したビューの各列のタイトルを表示します。NotesViewColumn クラスの Title プロパティを使います。

server$ = "Montreal"
dbfile$ = "corpcomm\walnut.nsf"
Dim db As New NotesDatabase( server$, dbfile$ )
Dim view As NotesView
Set view = db.GetView( "By Date\Ascending By Main Topic" )
Forall c In view.Columns
Messagebox ( c.Title )
End Forall

関連項目