difference.selected not working ....
Jim Hubbard
Posts: 4
Hi.
I am working on a compare routine and the 'selected' property doesn't seem to be working. If I set ALL difference.selected to false it works; does nothing. But if I set just one (or a couple) it still adds them to the work.
I want to be able to sync part of the differences if there are error so uses can go back and fix the errors later. Then sysn again... etc.
I am working on a compare routine and the 'selected' property doesn't seem to be working. If I set ALL difference.selected to false it works; does nothing. But if I set just one (or a couple) it still adds them to the work.
I want to be able to sync part of the differences if there are error so uses can go back and fix the errors later. Then sysn again... etc.
Comments
If you're selecting a subset of schema objects to synchronize, and the resulting synchronization scripts include more objects that you had selected, it must be because the extra objects are dependencies of the selected objects. You could try setting the comparison options so that the 'IncludeDependencies' setting is turned off.
Be aware that this may cause the script to throw errors when it's run, though!