<<
 
1.  I am looking to display a series of one page summary reports.  Is there any 
way to set a "timer" on the displaying of a report and have the report close on 
its own without intervention? 
>>

I would approach this by printing the reports to JPG or another disk format, 
then displaying them inside your form in an image field.  This will give you a 
lot of flexibility:

A. Use the form timer to regenerate and reload the report, or cycle through a 
set of reports, as desired.

B. Display several reports side by side, or on tabs.

<<
2.  Any suggestions on inserting an "exit key" which will terminate a "loop" 
of commands being performed.  ex: The stopping of a slide show.
>> 

Even if you are running a loop of commands R:Base will execute the code in the 
ON CLICK EEP of a button.  So do this:

----------------------
-- Loop Code
----------------------
-- Set global exit flag

SET VAR gExitFlag = 'N'

WHILE 1 = 1 THEN

    -- Do loop stuff here

  IF gExitFlag = 'Y' THEN
      BREAK -- From WHILE loop
  ENDIF

ENDWHILE
RETURN

----------------------
-- Button Code
----------------------
-- Signal main loop to exit
SET VAR gExitFlag = 'Y'
RETURN

Note that if the code that you put into "Do loop stuff here" section is lengthy 
and takes time, you can insert multiple checks against gExitFlag into the code, 
assuming that it's legitimate to interrupt the loop in the middle.
--
Larry

Reply via email to