check box automation in Oracle Forms

5 pts.
Tags:
Oracle Forms 6i
I'm developing a form using Oracle Forms6i. I have 10 check boxes and one button named "select all". when i oress the select all button i want all the 10 check boxes to be checked. How to make check box checked automaticallyu. pls help

Answer Wiki

Thanks. We'll let you know when a new response is added.

You just need to assign the desired value to each one of the checkbox items from the when-button-pressed trigger of the button.

For example, if the ‘value_when_checked’ property of your checkboxes is 1, your trigger should be something like this:

<pre>:your_block.your_checkbox_1 := 1;
:your_block.your_checkbox_2 := 1;
:your_block.your_checkbox_3 := 1;

:your_block.your_checkbox_10 := 1;</pre>

Discuss This Question: 3  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Shabir
    I'm developing a form using Oracle Forms 2000. I have several check boxes and one button named "select all". when i oress the select all button i want all the check boxes to be checked. How to make check box checked automaticallyu. pls help.
    10 pointsBadges:
    report
  • Nkswapnil
    But my question ...its doesnt like hard coded....means.....suppose i adisplay 10 rows...its not necessary to each time all 10 rows fill up....is it possible by using loop first we check how many record fill up...
    30 pointsBadges:
    report
  • carlosdl
    Hi Nkswapnil. Please create a new question, and provide as much details as possible (at least the Forms version, and a more clear explanation of your requirement). Thanks,
    70,220 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following