Hi everyone,

I'm trying to create datapilot with the API but I'm getting a strange thing when
I try to set the function
I want to apply to the datapilot field.

Check the attachment[1] :

1/ Click on the button Create Datapilot
2/ Check the datapilot you'll see that the function applied to "Produit" field
is SUM and not COUNT 
as specified in the source code.

oField.setPropertyValue("Function", com.sun.star.sheet.GeneralFunction.COUNT)

This source code works on 3.1 and 3.3 but not in 3.2.1, any tips ?

Thank you, best regards.

[1] http://www.cijoint.fr/cj201010/cijLaOJfNg.ods




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org

Reply via email to