怎么给组合框和列表框动态给值???

奥爸 2003-11-10 04:36:32
如题
谢谢大家了
...全文
109 10 打赏 收藏 转发到动态 举报
写回复
用AI写文章
10 条回复
切换为时间正序
请发表友善的回复…
发表回复
yanceyxie 2003-11-11
  • 打赏
  • 举报
回复
将列表的选择公式写成下面形式
"行1内容":"行2内容":"行3内容"
奥爸 2003-11-11
  • 打赏
  • 举报
回复
我说的可能不确切

我现在只想用代码实现下面的功能:
在列表框中,显示 行1内容
行2内容
行3内容
在c/s模式下
奥爸 2003-11-11
  • 打赏
  • 举报
回复
在c/s模式下
如果是C/S,可以为这个列表与一个多值域连在一起来实现??怎么实现???
牛牛爸 2003-11-10
  • 打赏
  • 举报
回复
如果是B/S,用JavaScript在一个弹出窗口中为列表赋值,弹出窗口可以运行代理来
如果是C/S,可以为这个列表与一个多值域连在一起来实现
xaser 2003-11-10
  • 打赏
  • 举报
回复
选取表中的一列,显示在列表框中,现在关键是:不知道怎么写程序给列表框赋值?
新手,现在很着急,需要大家的帮助

你这个表是指什么?
如果是视图,则有现成的公式可给域赋值
如果是文档中,则可以使用notesUIWorkspace.DialogBox
xaser 2003-11-10
  • 打赏
  • 举报
回复
用lotusscript的notesUIWorkspace.DialogBox,看看它的注释
Sharing of field values
This method displays the current or specified document using a different form. This means:
If the form has field names in common with the document, the field values of the document are displayed in the dialog box.
If the user changes the value of any fields in the dialog box and clicks OK, the changes are reflected in the same fields on the document.
If the user enters a value for a field in the dialog box, and the document does not contain a field by that name, the value is added to the document, even if it is not displayed in the form, unless noNewFields is True.
奥爸 2003-11-10
  • 打赏
  • 举报
回复
目的:
选取表中的一列,显示在列表框中,现在关键是:不知道怎么写程序给列表框赋值?
新手,现在很着急,需要大家的帮助
奥爸 2003-11-10
  • 打赏
  • 举报
回复
比如怎么给一个列表框内容如下:
1
2

谢谢大家了
sunshinelinyan 2003-11-10
  • 打赏
  • 举报
回复
如果是指列表元素,可以用一个简单的办法,域中的列表公式用一个多值域,然后写程序修改该域值,再刷新文档。不过要记得选中组合框的“当文档刷新时刷新选择”属性。
奥爸 2003-11-10
  • 打赏
  • 举报
回复
c/s模式下

535

社区成员

发帖
与我相关
我的任务
社区描述
企业开发 Exchange Server
社区管理员
  • 消息协作社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧