NotesDatabase Search condition

前端 未结 1 1982
独厮守ぢ
独厮守ぢ 2021-01-25 01:17

With this code:

Set col = db.Search(\"Form=\"\"formname\"\" & id=212\", time, 0)

I explicity give the search function 212 for example, but

1条回答
  •  有刺的猬
    2021-01-25 02:11

    Set col = db.Search("Form=""formname"" & id=" + Cstr(val), time, 0)
    

    should work.

    Cstr() converts the integer value to a string.

    0 讨论(0)
提交回复
热议问题