Bill:

Thanks for the quick response. When I first read about CFAs, I was
intrigued by the application of the 'repository' concept (read: 'one
stop code shopping'), where 'pointers' replace EEPs within individual
controls. Any drawbacks or caveats?

Bruce

> -------- Original Message --------
> Subject: [RBASE-L] - Re: v9.x: Custom Form Actions vs EEPs
> From: Bill Downall <[email protected]>
> Date: Tue, January 25, 2011 6:33 am
> To: [email protected] (RBASE-L Mailing List)
> 
> 
> Bruce,
> 
> I like to use CFAs, organized by actions that ought to happen on the
> occurrence of a particular event. For example, a CFA for what happens when
> the "client ID" is set or changed, and another for what happens when the
> "client type" is changed, and another for what happens when the "preferred
> shipping method" is changed. Then, code can be reused in multiple places in
> a form without having to repeat it.
> 
> Then, of course, the "client type" control on the form has to have an EEP
> that runs PROPERTY RBASE_FORM_ACTION CFAname ' ', etc, but the same PROPERTY
> command may also be in an "Initialize" EEP on after load, and/or on row
> entry.
> 
> Bill
> 
> On Tue, Jan 25, 2011 at 9:21 AM, Bruce Chitiea <[email protected]>wrote:
> 
> > When creating new forms, do you prefer to create:
> >
> > a) Individual EEPs, or;
> > b) Custom Form Actions?
> >


Reply via email to