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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] tMap Reset Var. variable based on input row field changing

I'm trying to set a variable to count records and reset the counter when an input field changes.
If my input Work_order Variable changes reset Var.Count1 

 
0683p000009MByV.png
 
   0683p000009MC2z.png 
0683p000009MBu3.png
My logic is not working as the Var.count1 is not initialized.  I count not find another post that fit my situation. 

  0683p000009MC2g.png

OS: Win 8.1 Pro
Talend : Version: 5.6.1
Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

tJavaFlex worked for this problem.  It would be nice to access Start Code and Main Code within a Tmap.......
Thanks @shong

View solution in original post

2 Replies
Anonymous
Not applicable
Author

It is a compilation error, Var.count is not defined before you use it, you can use tJavaFlex to implement it, take a look at the component documentation and learn tJavaFlex component. 
Anonymous
Not applicable
Author

tJavaFlex worked for this problem.  It would be nice to access Start Code and Main Code within a Tmap.......
Thanks @shong