Home » Developer & Programmer » Forms » Deletion of character
Deletion of character [message #85605] Mon, 12 July 2004 19:45 Go to next message
A Ikramur Rahman
Messages: 81
Registered: May 2004
Member
We are facing an unique problem in forms9i.

When values are entered in a text item, and after entering the first character, the first character gets highlighted and because of this on pressing any key the first character gets overwritten/deleted.

Once the error occurs it is easily reproduced within that session. However when you exit from the session the error will not occur predictably within the next session.

Even after the page/html/form is loaded completely this is happening.

It seems that the focus goes somewhere else and comes back when the first character has been typed.

What could be the causes for losing the focus?

Whether session settings will have any impact? or else any property settings or firing of a trigger after entering the first character?.

Please help as this is very very urgent.

Thanks in advance.

A Ikramur Rahman
Re: Deletion of character [message #85618 is a reply to message #85605] Tue, 13 July 2004 15:09 Go to previous messageGo to next message
Zain
Messages: 30
Registered: October 2003
Member
Check if you have any post-change trigger on the item. The session settings should not cause this problem.
Re: Deletion of character [message #85622 is a reply to message #85618] Tue, 13 July 2004 20:47 Go to previous messageGo to next message
A Ikramur Rahman
Messages: 81
Registered: May 2004
Member
Hi

The only trigger this field contain is WHEN-VALIDATE-ITEM and based on the value entered, it enables/disables some other fields.

Regards

A Ikramur Rahman
Re: Deletion of character [message #85645 is a reply to message #85622] Thu, 15 July 2004 17:17 Go to previous message
Zain
Messages: 30
Registered: October 2003
Member
This pretty much explains the problem. The set_item_property or set_item_instance_property built-in used in when-validate-item trigger would set the focus to other items. When the focus sets back to this field, it automatically highlights the text item.

If you use a go_item built-in at the end of the when-validate-item trigger, it should solve the problem.
Previous Topic: Generating queried data into Excel from Forms
Next Topic: Transfer to 9i
Goto Forum:
  


Current Time: Wed May 15 21:50:22 CDT 2024