When I loop through the tabs later in the program the get tab relation funtion returns null
Even if I try to get the relation name immediately after the addTab, I get a null.
My tab creation:
- Code: Select all
elements[tabname].addTab(_form,ctab,ctabdisplay,null,null,null,null,rel,ntabnum)
forms[_form].controller.recreateUI()
forms[_form].controller.loadAllRecords()
the debugger does show a value JSrelation for variable rel
but
- Code: Select all
elements[tabname].getTabRelationNameAt(ntabnum)
return null