Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

AddField method for TableBox is not working.

Hi,
I want to create a new TableBox and add a new field to it. (I am following API guidelines)
Below is the code:
rem *** Create table box
set TblBox = ActiveDocument.Sheets("Sett").CreateTableBox
TblBox.AddField "MyField"
The text in RED shows error, though no error msg is displayed.
QlikView Version: 10 SR 5
Thanks.
2 Replies
Anonymous
Not applicable
Author

I tried adding sub instruction... It works.

Please, find an attachment with the solution.

KR

Elena

NareshGuntur
Partner - Specialist
Partner - Specialist

Might be its late... But I have faced the same issue and observed that whatever field it is unable to add in macro, that was not part of my load statement.

Cheers,

Naresh