Home » Developer & Programmer » Forms » clearing text item
clearing text item [message #87123] Tue, 07 December 2004 23:40 Go to next message
Adi
Messages: 38
Registered: May 2002
Member
hi all,

i am using the control blocks in the forms and for one of the text fields data type is Integer. the text box name is age and i am entering some thing like "asd" and pressing tab and in the key-next-item of age i am saying the cursor to go to salary and after entering i am clearing the text box in the on-error like :formname.itemname := ''; this is working fine but cursor is not going into salary how should i make the cursor to move the control to the salary field

thanks for the help

aditya gangadharam garimella
Re: clearing text item [message #87126 is a reply to message #87123] Wed, 08 December 2004 04:22 Go to previous messageGo to next message
Prasanna
Messages: 43
Registered: April 2001
Location: India
Member
Dear Friend,

If u have given the data type of the item as number and enter a varchar item , cursor wont go to the specified item. Since the condition fails.
Re: clearing text item [message #87133 is a reply to message #87126] Wed, 08 December 2004 17:02 Go to previous messageGo to next message
Adi
Messages: 38
Registered: May 2002
Member
hi prasanna,
that is what i am asking if we take the data block and enter the characters and just say close then the form is closed. like the same way i enter the characters in the age and i press tab i should clear the field and go to the salary field
thanks for help..

adi
Re: clearing text item [message #87159 is a reply to message #87133] Fri, 10 December 2004 12:31 Go to previous message
Just John
Messages: 69
Registered: November 2004
Member
There is another similar post:

http://www.orafaq.com/forum/t/32749/0/

[Updated on: Fri, 18 February 2005 23:32]

Report message to a moderator

Previous Topic: get current value
Next Topic: exit_form problem?
Goto Forum:
  


Current Time: Tue Sep 17 01:54:34 CDT 2024