onoccchange does not work backward
Posted: June 5th, 2017, 7:33 am
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
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