|
I had a similar problem, admittedly when I first started coding this in VBA, and not C#, and it took me weeks of playing to figure it out (and this may not be true for you, but it was the answer for me as to the same errors you've put in your comments as to why it's not working)
You need to be REALLY careful using .SetProperty, this can really mess up your reports (i.e. it returns False and the rest of the code doesn't appear to do anything on the report). By "REALLY careful", I mean with the property name you enter, this needs to be EXACTLY the same as it is on the settings you can enter when you run the report through CMS Supervisor.
So if "Splits/Skills" is actually listed as "Splits/skills" (lower case S), or "Split/Skills" (singular Split) etc etc, then it won't correspond and won't run!
Hope this answers your query, if not, someone else may have a better answer - but your code looks fine to me!
|