Home » Developer & Programmer » Forms » Emp Code selection problem (Oracle 9i, Forms 6i)
Emp Code selection problem [message #353844] Wed, 15 October 2008 05:29 Go to next message
sweetkhaliq
Messages: 189
Registered: April 2006
Senior Member

i have made attendance form. In which i have add the code in post-change trigger of emp_code text box. Every time when the attendance is made the emp id is higligted in the emp_code text box and when next emp swap the card, the previous emp id is replaced with new emp id and the attendance of new employee has marked.
But the problem is that if the employee swap the card two times in a squance then i have shown the message "Already in wait 3o seconds". The employee have to wait 30 seconds for swap the card again. After this message when another employee swap the card emp_code text box did not highlighted and cursor blink in this emp_code field.

Please tell me how the emp_code field is always highlighted after every employee swap.

quick reply will be highly appriciated.

Thanks and regards
Re: Emp Code selection problem [message #354727 is a reply to message #353844] Tue, 21 October 2008 00:50 Go to previous messageGo to next message
lxlranalxl
Messages: 2
Registered: October 2008
Location: PK
Junior Member
Disable all the field in attendance form except Required Field..
Regard,s
LXL RANA LXL
Re: Emp Code selection problem [message #354728 is a reply to message #353844] Tue, 21 October 2008 00:50 Go to previous message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
Why wait 30 seconds, just give a 'beep' and show a message like "Card already registered" and then wait for the next one?

David
Previous Topic: Oracle Forms 6.0.8.27 crashes
Next Topic: How to create a pop up window (Windows XP)?
Goto Forum:
  


Current Time: Sat Dec 10 04:58:54 CST 2016

Total time taken to generate the page: 0.08201 seconds