Hi,
I have a roster and I put the following code in the group section of that roster to let me know once I go from one occurence to another occurence
onoccchange
errmsg("current occurence is : %d", curocc());
The message apprears when I go from occurence 1 to occurence 2 and so on. But when I move backward clicking in some field in the middle of the previous occurence the message does not appears meaning it still consider currocc is 2. I solve the problem by putting a preproc on each field capturing the current occurence but I hope the function would work in next version.
Best
onoccchange does not work backward
-
josh
- Posts: 2403
- Joined: May 5th, 2014, 12:49 pm
- Location: Washington DC
Re: onoccchange does not work backward
Yes, I have seen issues with onoccchange not always triggering as well. We will look into it.
-
Gregory Martin
- Posts: 1948
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: onoccchange does not work backward
Are you running your application in operator-controlled mode or system-controlled mode?
-
szso
- Posts: 17
- Joined: January 10th, 2015, 5:26 am
Re: onoccchange does not work backward
I always use the system control mode as it is more powerful.