CS 模式下有什么可能把表单中的所有域输出来吗解决思路
发布时间:2010-06-13 13:51:16 文章来源:www.iduyao.cn 采编人员:星星草
CS 模式下有什么可能把表单中的所有域输出来吗
得到表单中的所有域名/把表单中的所有域名输出,有什么办法吗。我知道BS中有类似的方法,CS中有什么办法吗?
------解决方案--------------------
看看帮助就知道了
NotesForm对象的Fields属性
Example
Read-only. The names of all the fields of a form.
Defined in
NotesForm
Data type
Array of strings
Syntax
To get: stringArray = notesForm.Fields
Usage
If the form contains no fields, the Fields array has one element whose value is an empty string.
Any fields of type "Computed for display" will not be included in the Fields array. If all of the fields on a form are of type "Computed for display", the Fields array has one element whose value is an empty string.
Dim session As New NotesSession
Dim db As NotesDatabase
Set db = session.CurrentDatabase
formNameIn = Lcase(Inputbox("Name of form?"))
Forall form In db.Forms
If Lcase(form.Name) = formNameIn Then
If Isempty(form.Fields) Then
Messagebox form.Name & " has no fields"
Else
fieldCount = 0
msgString = ""
Forall field In form.Fields
fieldCount = fieldCount + 1
msgString = msgString & Chr(10) & _
" " & field
End Forall
Messagebox form.Name & " has " & _
fieldCount & _
" field(s):" & Chr(10) & msgString
End If
Exit Sub
End If
End Forall
Messagebox "The form """ & formNameIn & """ does not exist"
友情提示:
信息收集于互联网,如果您发现错误或造成侵权,请及时通知本站更正或删除,具体联系方式见页面底部联系我们,谢谢。
其他相似内容:
-
问各位初学lotus notes开发看什么书
问各位初学lotus notes开发看什么书,如果有共享的话就谢谢大家了
------解决方案-----------...
-
简单的语法,请大侠看看!!
我是刚入门的菜鸟,我想添加我在视图中选择多个IP地址,并把它们放到address这个域当中,如果我用@PickList这个...
-
如何屏蔽或隐藏notes文件菜单中的引出按钮?
出于安全考虑,要隐藏引出按钮?
------解决方案--------------------
CS的话可以修...
-
c/s下如何封CTRL+C CTRL+V?
谢谢!
------解决方案--------------------
给数据库acl加权限,禁止复制...
-
domino 可以改变域的容量吗?
domino 可以改变域的容量吗?32kb改成更大一点的
------解决方案--------------------
普通域大小不...
-
Domino用户重复的问题 请大侠们指教~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
各位好 目前遇到如下问题
A服务器是主...
-
用js 怎样截取字符串?
var str="C:\Documents and Settings\dell\桌面\guanxi4.bmp"
我只需要 guanxi4.bmp 用js 怎样...
-
domino 自动编号
设计重1开始编号,依次不重复的,有好的建议吗?
------解决方案--------------------
再看以前发的一个帖子,对你有...
-
请高手进来看看:表单提交报错。
表单提交的时候报错:HTTP Web Server: Item value exceeds maximum allowable size. [/oadata/ccc....
-
Lotus Notes 8.5 发邮件时错误提示 failed to authenticate
如标题。
只有一个账户,点发邮件的时候有这样的错误提示,其他账户都正...