作成者カテゴリ返答の対象
公開
つちや
02/15/2002 03:19 PM
文書リンクアイコン 別DBのビューにある文書数の取得方法
別DBのビューにある文書数の取得方法、解決しました!

ちんさんありがとうございます。
FTSearchとワイルドカードを使用して、期待通りの結果がでました!
検索速度も見違えるほど早くなりました。

ちなみに
Dim Ss As New NotesSession
Dim db As NotesDatabase
Dim doc As NotesDocument
Dim View As NotesView
Dim Count As Integer

Set db = Ss.CurrentDAtabase
Set View = db.GetView("ビュー名")
Set doc = View.GetFirstDocument
If doc Is Nothing Then
Count = 0
Else
Count = View.FTSearch("*",0)
End If

Msgbox Count
とやってみました。
本当にありがとうございました。


[Previous Main Document]
別DBのビューにある文書数の取得方法 (つちや)
. . Re:別DBのビューにある文書数の取得方法 (ちん)
. . . . Collectionの定義方法 (つちや)
. . . . . . Re:別DBのビューにある文書数の取得方法 (ちん)
. . . . . . . . 別DBのビューにある文書数の取得方法、解決しました! (つちや) * 現在地 *
[Next Main Document]