I need to set a password on a radio button on a form built with Oracle Forms 6i. When the user selects the radio button a screen should pop-up requiring a password for validation before sending the user to the desired form.
Thank you so much for replying to my problem. I'm sorry I wasn't more descriptive of my needs. The user wants to limit who can access the form accessed by choosing a particular radio button. She requested that when anyone selects the radio button a screen pop-up that requires a password that must be filled in correctly before the requested form will display. I am working with Oracle Forms 6i. Hope this makes my needs clearer.
Use WHEN-RADIO-CHANGED to pop up a modal window. In the window, display a text item for the password entry. A button with WHEN-BUTTON-PRESSED will validate the user entered password against one held in a table. If the passwords match, use CALL_FORM to start the new form.
I already have a WHEN-RADIO-CHANGED trigger. This is the code: ELSIF :rg_menu = 'CRB' then PR_WBP_CALLFORM('CALL','csl18116');
I created a popup menu in the popup menu node. Is that the same as a popup window? You suggest I display a text item for the password entry. What would the code be to accomplish that task? (Can you tell I am new to this?) If I can find the correct spot to create the popup window, I know how to create the button and the WHEN-BUTTON-PRESSED trigger. Any more help with this that you can give me will be greatly appreciated!
Thanx,
LeeAnn
This will cause your window to pop up. In the WHEN-BUTTON-PRESSED trigger, place code that validates the user entered password against one in the database, and if successful, make your PR_WBP_CALLFORM call.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.