Message 1 of 2
Delete all except selected outcome from multi-value parameter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
Im hoping this should be failry simple.
I have a multi-value list which has, for example, 'Part A', 'Part B', and 'Part C'
If Part A is chosen then it gets added to the assembly, I would then want to delete the other two options from the assembly (if they are in it).
At the minute I am just doing a variant of the following:
If example = "Part A" Then Dim componentA = Components.Add("Part A", "Part A.ipt") Components.Delete("Part B") Components.Delete("Part C") End If
Is there a better way to do this?