Hallo Foraner,
hab auch mal ein Problem mit der Funktion db.search(Formula, DateTime, maxcount).
Die search-Funkion hat bei mir einen Haken ...

Ich übergebe der Formel eine String-Variable aus dem Script ...
person = firstname & " " & Lastname
searchformula$ = "From = ""Maske"" & FormType = ""Type"" & @Contains(TN; person)"
' TN ist der Feldname und person die String-Variabel
... und die Collection enthält alle Dokumente die der Maske und dem Type entsprechen und ignoriert die @-Funktion

Weiß jemand Rat oder kennt ihr das Problem

Viele Grüße von
Zimmi