onoccchange does not work backward

Discussions about CSEntry
Post Reply
szso
Posts: 17
Joined: January 10th, 2015, 5:26 am

onoccchange does not work backward

Post by szso »

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
josh
Posts: 2399
Joined: May 5th, 2014, 12:49 pm
Location: Washington DC

Re: onoccchange does not work backward

Post by josh »

Yes, I have seen issues with onoccchange not always triggering as well. We will look into it.
Gregory Martin
Posts: 1793
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: onoccchange does not work backward

Post by Gregory Martin »

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

Post by szso »

I always use the system control mode as it is more powerful.
Post Reply