Hello I have many evaluates but one dont work. Is very simple but I dont undestand , in my form section I have data
use avaluate but give an error
look the code is very simple
java :
function page1_section5_parentdatachanged()
{
// insert your code here
oJSON = Lianja.get('page1.section5').getJSON();
// CONVERTIMOS TODOS LOS OBJETOS DEL OBJETO FORMA (SECCION) A STRING;
var cJSON = json_encode(oJSON);
var resultado = Lianja.evaluate("funcion1('"+cJSON+"')");
Lianja.showMessage('Valor del grid ..'+resultado);
Lianja.get("page1.section4").refresh();
};
and in my prg I have :
parameter p1
oJSON = json_decode(p1)
open database prueba_tablas
ww_unicod=oJSON.ceu_unicod
return ww_unicod
Bookmarks