Re: Help about validation in Forms 4.5
Date: 1997/10/21
Message-ID: <877453630.9917_at_dejanews.com>#1/1
In article <01bcdd5a$3ced21a0$e202020a_at_C-96-38.prirm.pride.it>, [Quoted] "Massimiliano Bellifemine" <m.bellifemine_at_pride.it> wrote:
>
> Does someone know if the When-Validate-Item trigger fires during the
> process of previous-item?
> In my case the trigger doesn't fire (for example if I press Shift+Tab). Do
> you know if exists some property to set?
It depends...
For a when-validate-item trigger to fire, you must have your validation-unit property on the form set to Item, and you must enter something in the item. If you have not entered any data into the item or changed existing queried data in the item, the trigger will not fire.
You can force the WVI trigger to fire every time by setting the item's value to its current value in a when-new-item-instance trigger: :Blk.Item1 := :Blk.Item1;
If you set the Required item-level property to true, the form will require you to enter something into the item if you try to click into a different item with the mouse. But if you use Shift-Tab to leave the item, then the required flag is ignored.
Regards,
Steve Cosner
-------------------==== Posted via Deja News ====-----------------------
http://www.dejanews.com/ Search, Read, Post to Usenet
Received on Tue Oct 21 1997 - 00:00:00 CEST
