Re: Where best to validate multi-row block

From: Daniel Morgan <damorgan_at_x.washington.edu>
Date: Thu, 22 Jul 2004 17:40:34 -0700
Message-ID: <1090543259.802979_at_yasure>


Roy Munson wrote:

> Hi,
>
> Have a 2 block parent child form....the child block is multi row in
> which a number of pieces can be entered for each row.
>
> A total value is entered in the parent block....am wanting to validate
> that the sum of the numbers entered in the child block does not exceed
> the value entered in the parent block.
>
> Where is the best place to put the validation? PRE-INSERT is no good
> as data still not posted. POST-INSERT no good as its too late for
> validation to fail and rollback.
>
> Any help appreciated
>
> Roy

I use WHEN-VALIDATE-ITEM.

Daniel Morgan Received on Fri Jul 23 2004 - 02:40:34 CEST

Original text of this message