AnsweredAssumed Answered

Calculation based on Objectname

Question asked by user21370 on Jan 27, 2010
Latest reply on Jan 29, 2010 by user21370

Title

Calculation based on Objectname

Post

I have a container field which is filled with an image from a related repeated container.

The calculation I use for this field: 

 

Case ( 

Project Status = "Offerte" ; Project|Voorkeuren::gContainer [2]  ; 

Project Status = "Order" ; Project|Voorkeuren::gContainer [3]  ; 

Project Status = "Factureren" ; Project|Voorkeuren::gContainer [4]  ; 

Project Status = "Gefactureerd" ; Project|Voorkeuren::gContainer [5] ;

Project|Voorkeuren::gContainer [6] 

) 

 

Everything works fine. 

 

The Container field with calculation is needed multiple times with other parameters. My first thought was to expand the calculation which would use the Objectname to define the case to use. This way I don't have to duplicate the field in the table multiple times and keeping it slim. But I can't find the right function which gets the objectname (only active objectname).

 

Now I have to duplicate the container field for the other versions.

Outcomes