tags:

views:

40

answers:

0

I had been struggling to get some of the "server"-side filtering working with the Peachtree SDK (assembly version is 17.0.0.0), and having to debug to try each combination of values of filters was annoying me, so I wrote a program using reflection to test them all.

I tried to post the output here (well-formatted!), but markdown basically puked it back out, so, sorry about that.

Suffice to say, Export.SetFilterValue() seems to always throw a COMException when passed Equal, Mask, and NotEqual filter types, regardless of the from and to string parameters.

Has anyone actually gotten this to work? If you have, please post an example (any language is fine). I copied the example from the docs into my code and it didn't work. Google's cupboard is absolutely bare of any Peachtree stuff.

As an aside, most of the filter values support both All and Range, but some of the filter values seem to not support any of the filter types (including All!).