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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

NB_Line_INSERTED not returning correct result

I verified that tMSSqlOutput_1 to indeed inserting records (truncate then insert).
However, when I use the following code, it is not assigning the inserted numbers. It returned -1.

context.QATargetInserted=context.QATargetInserted+((Integer)globalMap.get("tMSSqlOutput_1_NB_LINE_INSERTED"));
Confusing part is the following code IS RETURNING CORRECTLY.

context.QATarget=context.QATarget+((Integer)globalMap.get("tMSSqlOutput_1_NB_LINE"));
Any reason why?
Labels (2)
0 Replies