Posted: Fri Jun 15, 2007 6:40 am
Hello Steve,
I am using a calculated field with 7.1.
Here is my statement
__sql__="select *, (quantite/nbre_poses)*nbre_pages as nbre_feuilles from fichestravaux"
all fields are on 1 as default and I tested to be sure the query is OK.
Although I have this error message
Cannot use a scalar value as an array in /var/www/html/dataface-0.7.1/Dataface/Table.php on line 1793
It is about the value of $data['columns']
Looking into the source I saw that there is a problme with parenthesis inside the query.
Please do you have any hunch ?
Kind regards
Jean
I am using a calculated field with 7.1.
Here is my statement
__sql__="select *, (quantite/nbre_poses)*nbre_pages as nbre_feuilles from fichestravaux"
all fields are on 1 as default and I tested to be sure the query is OK.
Although I have this error message
Cannot use a scalar value as an array in /var/www/html/dataface-0.7.1/Dataface/Table.php on line 1793
It is about the value of $data['columns']
Looking into the source I saw that there is a problme with parenthesis inside the query.
Please do you have any hunch ?
Kind regards
Jean