Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

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

sc203718
Level 2
Level 2

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);

2 Replies
sc203718
Level 2
Level 2

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

sc203718
Level 2
Level 2

Correct reference is :

     body2.activitati._TABEL_VENIT.setInstances(1);