Highlighted

How can i define _TABEL_VENIT it already exists but it gives me an error

Avatar

Avatar

sc203718

Avatar

sc203718

sc203718

16-01-2019

Hello, I am a newbie and I have a form that I`m working on and it gives me this error:

ReferenceError: _TABEL_VENIT is not defined

4:XFA:form1[0]:tabelAnexa[0]:Row[1]:veg2[0]:veg1[0]:prod[0]:frmO[0]:change

But TABEL_VENIT already exists...what can i do to repair the error ? Please help

This is the code that gives the error:

    _TABEL_VENIT.setInstances(0);

    _TABEL_VENIT.setInstances(1);

Replies

Highlighted

Avatar

Avatar

sc203718

Avatar

sc203718

sc203718

17-01-2019

I solved it..I didn`t reference it correctly

Highlighted

Avatar

Avatar

sc203718

Avatar

sc203718

sc203718

17-01-2019

Correct reference is :

     body2.activitati._TABEL_VENIT.setInstances(1);