使用GetItemValue方法(1)

NotesDocument类別的GetItemValue方法会传回文件中指定栏位的数值。不论栏位值是文字、数字、时间日期…等等, GetItemValue都是以阵列型态来回传,即使其中也沒有任何数值了。

使用GetItemValue方法(2)

语法

valueArray = NotesDocument.GetItemValue_

(“ItemName)”

Ex.

Dim lname As String

lname = doc.GetItemValue(“LastName”)

doc.itemname(0)与doc.getitemvalue(itemname)的区别

doc.itemname(0),要求itemname为文本(列表)、时间、读者、作者(列表)等。但不能为RTF条目,不然会出错。

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-03
  • 2021-12-03
  • 2021-12-03
  • 2021-11-30
  • 2021-12-16
  • 2021-11-30
猜你喜欢
  • 2021-09-08
  • 2022-01-21
  • 2021-09-15
  • 2022-02-18
  • 2022-02-22
  • 2021-07-01
  • 2022-12-23
相关资源
相似解决方案