Application Development and Automation 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: 
Read only

ok-code value

aris_hidalgo
Contributor
0 Likes
793

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
Read only

abdul_hakim
Active Contributor
0 Likes
718

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
Read only

Former Member
0 Likes
718

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..

Read only

Former Member
0 Likes
718

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

vijay

Read only

Former Member
0 Likes
718

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

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

vijay

Read only

abdul_hakim
Active Contributor
0 Likes
719

Hi,

Define a function code for ENTER in the standard toolbar

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

Regards,

Abdul

Read only

0 Likes
718

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