MikeJ,
There are multiple situations to consider and each one requires coding.
1) The "new file" has a selection and the "merged file" has a selection.
2) The "new file" has a selection, the "merged file" has no selection.
3) The "new file" has a selection, auto-select the "merged file".
4) The "new file" has no selection, the "merged file" has a selection.
5) The "new file" has no selection, the "merged file" has no selection.
6) The "new file" has no selection, auto-select" the "merged file"
I think it would break down as follows...
A) New File has a selection
1) Merge file has a selection
a) "keep current" selection and ignore Merge file selection. (No change)
b) "add" Merge file selection to current selection. (Increase selection)
c) "replace" current selection with Merge file selection. (New selection)
2) Merge File has No selection (No change to selection)
3) Merge File has No selection (Make all new Selection enabled (auto-select))
a) "keep current" selection and no auto-select . (No change)
b) "add" Merge file object auto-selected. (Increase selection)
c) "replace" current selection with Merge file object auto-selected. (New selection)
B) New file has No selection
1) Merge File has a selection
a) "keep current" selection and ignore Merge file selection. (No change)
b) "add" Merge file selection to current selection. (New selection)
c) "replace" current selection with Merge file selection. (New selection)
2) Merge File has No selection (No change to selection)
3) Merge File has No selection (Make all new Selection enabled (autoselect))
a) "keep current" selection and no auto-select. (No change)
b) "add" Merge file object auto-selected. (New selection)
c) "replace" current selection with Merge file object auto-selected. (New selection)
If I am not mistaken, auto-selecting the merged in file is the complicating factor...
I think the way Micheus has the menu is the simplest way to capture all the possibilities... At least I cannot think of a better way...
oort
There are multiple situations to consider and each one requires coding.
1) The "new file" has a selection and the "merged file" has a selection.
2) The "new file" has a selection, the "merged file" has no selection.
3) The "new file" has a selection, auto-select the "merged file".
4) The "new file" has no selection, the "merged file" has a selection.
5) The "new file" has no selection, the "merged file" has no selection.
6) The "new file" has no selection, auto-select" the "merged file"
I think it would break down as follows...
A) New File has a selection
1) Merge file has a selection
a) "keep current" selection and ignore Merge file selection. (No change)
b) "add" Merge file selection to current selection. (Increase selection)
c) "replace" current selection with Merge file selection. (New selection)
2) Merge File has No selection (No change to selection)
3) Merge File has No selection (Make all new Selection enabled (auto-select))
a) "keep current" selection and no auto-select . (No change)
b) "add" Merge file object auto-selected. (Increase selection)
c) "replace" current selection with Merge file object auto-selected. (New selection)
B) New file has No selection
1) Merge File has a selection
a) "keep current" selection and ignore Merge file selection. (No change)
b) "add" Merge file selection to current selection. (New selection)
c) "replace" current selection with Merge file selection. (New selection)
2) Merge File has No selection (No change to selection)
3) Merge File has No selection (Make all new Selection enabled (autoselect))
a) "keep current" selection and no auto-select. (No change)
b) "add" Merge file object auto-selected. (New selection)
c) "replace" current selection with Merge file object auto-selected. (New selection)
If I am not mistaken, auto-selecting the merged in file is the complicating factor...
I think the way Micheus has the menu is the simplest way to capture all the possibilities... At least I cannot think of a better way...
oort