Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

ok-code value

aris_hidalgo
Contributor
0 Kudos

Hi guys,

I created a screen that lets users add multiple records. Now, the users are complaining that if they press the 'ENTER' button on the keyboard, the data that they typed will be gone/refreshed. I created a button that once the user clicks on it, the data that they entered will be added. But what they want is that if they press enter, the record/s that they typed will be added into the database table. Is there an ok-code/code for this?

1 ACCEPTED SOLUTION

abdul_hakim
Active Contributor
0 Kudos

Hi,

Define a function code for ENTER in the standard toolbar

"Green tick mark".u can achive this through SET PF-STATUS.

Regards,

Abdul

5 REPLIES 5

former_member188685
Active Contributor
0 Kudos

any thing assign it to green tick button in tool bar .

say ENTER to that button and handle it in PAI or where ever you required to..

former_member188685
Active Contributor
0 Kudos

you have set while declaring PF-status to the green tick button to some function code say 'ENTER' and handle it in PAI.

vijay

former_member188685
Active Contributor
0 Kudos

Click on the PF-status and go to change mode .

then assign Function code to the First Button in the standard tool bar..

vijay

abdul_hakim
Active Contributor
0 Kudos

Hi,

Define a function code for ENTER in the standard toolbar

"Green tick mark".u can achive this through SET PF-STATUS.

Regards,

Abdul

0 Kudos

hi

go to set pf-status ther...u assign the proper function code with that key!!

and catch the same function code in ur PAI event!!

Plz reward points if it helps!!

Regards,

gunjan