2009 May 28 7:58 AM
Hi Experts,
I hav 2 fields in my screen.
in valdiations, if i got error in any of these 2 flds, the cursor going to the 1st field.
How to put the cursor at error field.
Thanks
Chandra
use set curser command and write the field name there on which you want curser
2009 May 28 8:01 AM
Hi,
Try this before populating the message.
SET CURSOR FIELD 'TABLE-FIELD'.
2009 May 28 8:02 AM
2009 May 28 8:02 AM
Hi,
In the PBO you have to set the cursor.
Here is the code.
PROCESS BEFORE OUTPUT.
SET CURSOR FIELD <FIELDNAME (CAPITAL)>.
If you want to set the cursor after Error message.
After the Error message.
SET CURSOR FIELD <FIELDNAME (CAPITAL)>. ( But afer the Error message the fields will be input disable mode. Unless you use FIELD keyword )
Hope this will help you.
Regards,
Smart Varghese
2009 May 28 8:09 AM
use set curser command and write the field name there on which you want curser
2009 May 28 12:50 PM
Hi,
suppose u get err in the second field , clear the field value and in PBO check which field is initial and set the cursor to that field as suggested by others, pls mark the thread as answered once u get clarity.
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |