Re: Forms 4.5 - Detail Block

From: Prasad Chavali <pchavali_at_assettech.com>
Date: 1998/02/10
Message-ID: <01bd3649$5329c200$6e34f5cc_at_winner.assettech.com>#1/1


You can use the a while loop script.

For example

go_block('BLOCK');
first_record;
while :block.first_column is not null loop   if Check = 'Y' then

        do_this;
  end if;
  if :system.last_record = 'TRUE' then

        exit;
  else

         next_record;
  end if;
 end loop;

Hope that Helps

twittfoth_at_carlson.com wrote in article <887046111.1034551310_at_dejanews.com>...
> My apologies for this stupid question, but... I have two blocks with a
> master-detail relationship. The detail contains multiple rows, and next
> to each detail row is a nondatabase check box. The user can check the
> box identifying it for processing. Once the user clicks on a button a
> process will occur that inserts rows into a table based on whether the
> box is checked. My question is, how do I process each row in the detail
> block individually?
>
> -------------------==== Posted via Deja News ====-----------------------
> http://www.dejanews.com/ Search, Read, Post to Usenet
>
Received on Tue Feb 10 1998 - 00:00:00 CET

Original text of this message