Thanks for your reply.
Using the logical OR is the way you need to add the options together. The options are an enumeration. For example, if you want to use option 1 and 2 in the set, you would add, say 001 OR 010 = 011, which equals 3 and represents options 1 and 2
The options go up in multiples of 2, i.e. 0,1,2,4,8 etc, because if there was an option 3 you couldn't tell the difference between option 3 and option 1&2 as they would both be 011.
If you used an AND, it would be 001 AND 010 = 001, which would only represent the first option.
using an OR should do what you need, e.g.
- Code: Select all
work.BuildFromDifferences(sourceVsTarget, Options.ForceColumnOrder OR Options.IgnorePermissions, True)
I hope this helps.