Hi Marcel,
Thanks for your reply, I have done a little more research and it seems that if I remove the module from the parent solution, the aggregate then works as expected. which would indicate a problem with the module. but as there are no errors messages I’m am not sure what to look for.
So the problem is as follows:
I have a parent form displaying related line items through the relation invoices_to_invoice_line_items in a portal, then a line total calculation in the line items table, then finally a aggregate of the line total. I then display the line item aggregate in the parent form as a invoice total. All of this works fine until I load the module then the aggregate no longer updates or reflects changes in the lineitems table.
I’m sorry for the essay, but this has got me stumped, I have used this all over my solution with no problems. All methods forms etc relations in the module have prefixed with mod_ so not to conflict. And there are no errors on start up.
What version of Servoy are you using. And do you see this issue in Developer or one of the clients (or all).
Also do you see any errors in the server log (even when running developer).
And to narrow the problem down a little more check to see if the aggregate query is actually send to the back-end by looking for the query in the Performance Data page in the servoy-admin pages.
Hi Robert,
Thanks for your reply.
I am using 3.5.6, the problem occurs in both client and developer, there are no errors in the server log but there is NO aggregate logged in performance log. Hmm why would that be ???
Phil