searchFormula$={select form= "(SysInfoPublish_Form)" & @text(ReleaseDate)> = "}+doc.StartDate(0)+{ "& @text(ReleaseDate) <= "}+doc.EndDate(0)+{"}
Set dcc=db.Search(searchFormula$,Nothing,0)
If dcc.Count> 0 Then
Set doc=dcc.GetFirstDocument
While Not(doc Is Nothing)
Msgbox "这里是一些文档的操作 "
Set doc = dcc.GetNextDocument(doc)
Wend
End If
错误号4005:Notes error: Formula Error (select form= "(SysInfoPublish_Form)" & @text(ReleaseDate)> = "2010-11-16 "& @text(ReleaseDate) <= "2010-11-16")
第一行报错
------解决方案--------------------
那个"> ="的写法错误, 应该是">="