Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to jump to the first checked record

Status
Not open for further replies.

LimonaM

Programmer
Oct 27, 2004
50
SI
Hello
I have checkboxes. When i press one button, every one of my checkboxes become checked when there (in a row, record) is one empty item. When all are checked i want to jump to the first checked record. So my current record would be first checked record.

exp:

1 record full_item
2 record full_item
checked 3 record empty_item
4 record full_item
checked 5 record empty_item

Now i want to go to 3. record. Then i have another button which fill (only) all checked records empty_items.

Thanks


 
Call the DOWN built-in until you find a record whose checkbox value is equal to the unchecked value.
 
The code would look something like:

go_block('MY_BLOCK');
first_record;
while :my_block.checkbox_value = 'Y' and :system.last_record <> 'TRUE' loop
down;
end loop;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top