【发布时间】:2017-05-05 05:28:43
【问题描述】:
我正在尝试通过在全局字段中添加和删除记录 ID 来创建多选功能。
我创建了一个名为 current_selection 的全局字段。
我在 name 字段中附加了一个脚本操作,假设将记录 id 添加或删除到全局字段。
If ( PatternCount ( committee::current_selection; committee::id & "¶"); Substitute ( committee::current_selection; committee::id &"¶"; "¶"); committee::id & "¶" &committee::current_selection)
这就是我设置全局字段的方式。
同时,我为名称字段设置条件格式,以便查看所选内容
PatternCount ( committee::current_selection; committee::id & ¶)
so what happens is 1 is selected when 11 is selected then if I click 1 it takes 1 off 11
不知道为什么会这样
【问题讨论】:
标签: filemaker