Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to make 'Key-Enter' trigger (when clicked on enter key)work like 'F8' key?

VijethaJul 4 2013 — edited Jul 4 2013

Hi . I have another question to be asked.

Oracle Forms 6i.

I have a form in which DEFAULT&SMARTBAR is the menu and there are no push buttons.

In the form, there is a 'field' named as 'ID No'. After entering 'ID No' in the field and click on 'Execute Query' button from the 'DEFAULT&SMARTBAR' menu, all the details of that respective 'ID No' gets displayed in all the other fields. Even if i press 'F8' all the fields gets displayed with the values.

But i have a requirement, i.e. after entering 'ID No' and click 'Enter' key , i want all the values to be displayed.

So i created a 'Key-Enter' trigger with the following code:

BEGIN

  EXECUTE_QUERY;

END;

But after entering 'ID No' and click 'Enter' key, the values are not getting displayed.

What can i do to make this happen?

Thank You.

This post has been answered by InoL on Jul 4 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 1 2013
Added on Jul 4 2013
2 comments
1,954 views