Can we create table calculations at runtime?

Hi, is it possible to create table calculations or relations at runtime?

Hi Erik,

In version 5.2.x you can create relationships via the solutionModel at runtime.
For creating calculations via the solutionModel you need version 6.0 .

Hope this helps.

Thanks!

ROCLASI:
Hi Erik,

In version 5.2.x you can create relationships via the solutionModel at runtime.
For creating calculations via the solutionModel you need version 6.0 .

Hope this helps.

I have a follow-up question regarding calculation creation at runtime. Is this stored or unstored calculation? Is it possible to create stored calculation?

What makes a calculation stored is the fact that it has the same name as one of the columns of the table it is linked to.
Looking at the JSCalculation node under the solutionModel node in Servoy 6 I think the answer to your question is yes.

Just go download 6.0rc and try it :)

ROCLASI:
What makes a calculation stored is the fact that it has the same name as one of the columns of the table it is linked to.
Looking at the JSCalculation node under the solutionModel node in Servoy 6 I think the answer to your question is yes.

Just go download 6.0rc and try it :)

All right! Thanks!