Daniele

What about using the SET VAR vm_formname = (CVAL('FORM_NAME')) 
in your eep code like this type of a situation:

SET VAR vm_formname TEXT = NULL
SET VAR vm_formname = (CVAL('FORM_NAME'))
SWITCH (.vm_formname)
  CASE 'form2notrun'
  CASE 'otherform2notrun'
    BREAK
  CASE 'specialconditionform'
    --Run eep code but adding some other functionality
    BREAK
  DEFAULT
    --Run YOUR eep code here so it will always run unless
    --you specify a formname above to tell it not to.

    BREAK
ENDSW
RETURN

This way your eep code will always run unless you tell it not to
for a particular form. I know this would require modifying all
your eep's but this comes in hand of other situations. If you
want to run similar code with some other small mod you can put
it under the form you calling it from like the specialcondtionform
above.

Jim

--- DanieleBarbieri <[EMAIL PROTECTED]> wrote:
> Hello Sami
> I understand your purpose ad your suggested method.
> The action "PRESS THE BUTTON" is a free users's choice
> but the EEPs start always even if they are undesired.
> In R:BASE, of course, all is possible
> "You are only limited by your immagination... (very famouse Razzak
> sentence)."
> My personal preference is to deactivate EEPs and to keep buttons actions.
> ciao
> Daniele
> [EMAIL PROTECTED]
> www.bmbinformatica.it
> from Italy
> 
> 
> > > I think the changes that RBTI has made to the BROWSE USING form command
> > are
> > > appropriate (except that the F7F8 are still a little iffy in a scrolling
> > > region, but it's been reported as a bug).
> > >
> > > I have an application that has buttons on the form that are used to
> print
> > > reports, to open other forms, and so on, and if these eeps were
> > deactivated
> > > when the user was in BROWSE mode, it would defeat MY purpose for using
> the
> > > BROWSE mode.
> > >
> > > I think the method of having programmatic control over each eep is a
> > better
> > > solution.
> > >
> > > Sami
> 
> 
> ================================================
> TO SEE MESSAGE POSTING GUIDELINES:
> Send a plain text email to [EMAIL PROTECTED]
> In the message body, put just two words: INTRO rbase-l
> ================================================
> TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED]
> In the message body, put just two words: UNSUBSCRIBE rbase-l
> ================================================
> TO SEARCH ARCHIVES:
> http://www.mail-archive.com/rbase-l%40sonetmail.com/


__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com
================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: INTRO rbase-l
================================================
TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: UNSUBSCRIBE rbase-l
================================================
TO SEARCH ARCHIVES:
http://www.mail-archive.com/rbase-l%40sonetmail.com/

Reply via email to