0
How can I create a dynamic multiple choice that uses selections from another dynamic multiple choice.
dMC A
item 1
item 2 (selected)
item 3
item 4 (selected
dMC B shows the following
item 2
item 4
The user select items 2 and 4 in dMC A.
dMC B shows only the items choses in dMC A
3 replies
-
That is an interesting question. I'm not sure why you need another dMC showing the selection of a previous dMC, but what the heck why not do it. Try:
let selected := numbers(MC1); select Table1 where (var v := this; count(selected[= v]) > 0) or let selected := numbers(MC1); select Table1 where contains(selected, number(Id))
replace:
MC1 = with dMC A
Table1 with the table name that dMC A is based on.
-
Here is a third option that does not use the dreaded select statement.
let selected := numbers(MC1); for loop1 in selected do record(Table1,loop1) end
-
Superb! Thank you very much, Fred. Again!
Louis
Content aside
- Status Answered
- 9 mths agoLast active
- 3Replies
- 50Views
-
2
Following