using Onfocus in roster
Posted: June 21st, 2012, 5:32 am
Hello,
I have one entry application that have two waves.
in wave 1 I did entry already. then in wave 2 I need to enter again;
In wave 2 I have change code in roster by using Onfocus to clear the old data for new entry.
I'm using this below code:
PROC CHANNEL_U_EM000
PROC UEM_A
onfocus
if curocc($)<=24 then
UEM_A(curocc($))=notappl;
UEM_b(curocc($))=notappl;
endif;
I used this code in 4 rosters(1 roster with 24 occur, the same flow). There is a problem when I enter in roster 1, roster 2 first occur(not yet complete 24 occur), then It skipped automatically to roster 3 but sometimes It didn't skip. I wonder why it's not remain the same while I'm using the same code, or my code didn't work well. please help me.
Note: in wave 1 I used CSPro 4.0, in wave 2 I used CSPro 4.1
Best regards,
Vanndy
I have one entry application that have two waves.
in wave 1 I did entry already. then in wave 2 I need to enter again;
In wave 2 I have change code in roster by using Onfocus to clear the old data for new entry.
I'm using this below code:
PROC CHANNEL_U_EM000
PROC UEM_A
onfocus
if curocc($)<=24 then
UEM_A(curocc($))=notappl;
UEM_b(curocc($))=notappl;
endif;
I used this code in 4 rosters(1 roster with 24 occur, the same flow). There is a problem when I enter in roster 1, roster 2 first occur(not yet complete 24 occur), then It skipped automatically to roster 3 but sometimes It didn't skip. I wonder why it's not remain the same while I'm using the same code, or my code didn't work well. please help me.
Note: in wave 1 I used CSPro 4.0, in wave 2 I used CSPro 4.1
Best regards,
Vanndy