Yes, that is what I meant "run select....."

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Bob Thompson
Sent: Tuesday, July 15, 2014 6:35 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - RE: Form timer

If by trigger, you mean a "run select..." I have not.  An actual table
trigger would not apply as there are no inserts or updates.  I need it to
fire based upon time.  However I may try a run select.   

This is not a big issue as it works with the code in the timer eep.   More
than anything, I was curious how the timer and custom form actions were
related. 

Thanks


Bob Thompson
LaPorte, IN
219-363-7441

Sent from my iPod

On Jul 15, 2014, at 5:07 PM, "Buddy Walker" <[email protected]>
wrote:

> Bob
>  I would expect you would need the focus for the custom form action to 
> work.
> 
>  Instead of using the custom form action have you tried calling/using 
> a trigger. This way you would have only one copy of the action and 
> still be able to call it from forms.
> 
> Buddy
> 
> 
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf Of Bob 
> Thompson
> Sent: Tuesday, July 15, 2014 2:49 PM
> To: RBASE-L Mailing List
> Subject: [RBASE-L] - Form timer
> 
> I have a form timer that runs a short eep and works very well.   Using MDI
> forms, I can be multiple forms deep and the timer still processes.  I. E.
> form 1 has the timer eep set to run every 60 seconds.  I open form 2 
> from a button on form 1.  Then form 3 is open from a button on form 2.  
> In 60 seconds,  the timer on form 1 fires and displays a pause message 
> (more complicated than this, but gets the picture across)
> 
> Works great and just like I need! 
> 
> Now I put the small timer eep into a custom form action as I want to call
> the same code from other sources.   I replace the timer eep code with the
> proper PROPERTY command. 
> 
> The timer works as before if only form 1 is open.  However it does not 
> display the pause message if form 2 or 3 is open.  The form 1 timer 
> eep does not run the custom form action unless the form 1 is in focus.  
> Yet it can run the code if it is contained in the timer eep.
> 
> Is this expected or should it be able to run the custom form action 
> when another form is open?  I can keep the code
> in multiple places  and make it work,   I was just curious if this is
> expected. 
> 
> Tried on both v8 and 9.5
> 
> Thanks,
> Bob
> 
> 


Reply via email to