LOTUSSCRIPT /COM/OLE のクラス
例:GetView メソッド
1 次のスクリプトは現在のデータベースの [Main] ビューを取得してタイトルを表示します。
@IndMono sngl@Sub Click(Source As Button)
Dim session As New NotesSession
Dim db As NotesDatabase
Dim view As NotesView
Set db = session.CurrentDatabase
Set view = db.GetView( "Main View" )
If Not view Is Nothing Then Messagebox( view.Name )
End Sub
2 次のスクリプトは現在のデータベースの [By Projects\By Author] ビューを取得します。だたし、ビューへのアクセスには別名を使います。
Dim session As New NotesSession
Dim db As NotesDatabase
Dim view As NotesView
Set db = session.CurrentDatabase
Set view = db.GetView( "Authors" )
関連項目
GetView メソッド
用語集
ヘルプに対するフィードバック
ヘルプの使い方
ヘルプを開く
用語集
ヘルプに対するフィードバック
ヘルプの使い方
ヘルプを開く