Re: Forms45 triggers for form/block/item

From: Stacy Friedman <stacy_friedman_at_yahoo.dot.com>
Date: 1998/02/06
Message-ID: <34DB53C2.3AF79774_at_yahoo.dot.com>#1/1


Davis Kulis wrote:
>
> Angelo Cavallaro wrote:
> >
> > Hi there.
> >
> > I would set the Execution-Style of the Item-Trigger to 'After' so that
> > the Form-Trigger would fire first.
> > Then if you want to supress the execution of the Item-Trigger in the
> > Form-Trigger I would just set e.g. a global variable to a value, which
> > indicates the Item-Trigger to do nothing.
> > Angelo.
>
> TNX, but there is a problem:
>
> (Maybe I didn't put it quite right for the first time)
>
> Actually I generate block/item level triggers from Des2K & write only
> form level tiggers. So I do not want to change block/item level triggers
> (100% generation :)
>
> I run into problems with some of constraints validating at field level,
> so I want to alter default validation rules (but still keep field level
> validation!).
>
> davis
>
> P.S. please, e-mail your suggestion directly to me as well
>
> davis

You're going to have to add some code to your item-level triggers in order to do this. The execution style property is get/settable only at design-time, so any dynamic decision you need to make at runtime will have to be done with code.

-Stacy



stacy *underscore* friedman *at* yahoo *dot* com (or replace yahoo.dot.com with yahoo.com) Spam bait: billg_at_microsoft.com root_at_localhost Received on Fri Feb 06 1998 - 00:00:00 CET

Original text of this message