今天发现的可以使用参数的方式将表单设计元素名传给方法
如
dim field as string
dim name as string
field="author"
name=doc.getitemvalue(field).text
msgbox name
由此,将域名传给GETITEMVALUE方法,而取得该域的值。
如
dim field as string
dim name as string
field="author"
name=doc.getitemvalue(field).text
msgbox name
由此,将域名传给GETITEMVALUE方法,而取得该域的值。