This forum is devoted to the discussion about the software DaDaBIK database front-end
the PHP Database application generator for MySQL, PostgreSQL and SQLite; also available for Wordpress.

Welcome! Log In Create A New Profile


Identify the Calculated field function

Posted by business 
Identify the Calculated field function
January 22, 2019 07:26AM

I have various related fields that I have to calculate using Calculated field function, but I am planning to use the same function in various fields (to avoid further database queries as my function need some additional data from the database).

I noticed that an array sent in $parameters_ar doesn't contain any reference to the calling field.

Is there any way I can identify the field id which has called the function so, I can return the values based on it using the same custom function in multiple fields?

Look forward to hearing from you.

Thank you

You are using DaDaBIK version 9.2.1-Monterosso enterprise, installed on 01-19-2019 (installation code: 0), the latest version of DaDaBIK is 9.2.1-Monterosso released on 12-19-2018

You are runnning the last release of DaDaBIK

PHP Version: 7.2.14

mysql version: 5.6.40-84.0-log

Web server: Apache

Client: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36
Sorry, only registered users may post in this forum.

Click here to login