If you can estimate the time required for backup (say 45 seconds)  you could 
use   pause for 45
instead of pause 3

  ----- Original Message ----- 
  From: Ed Rivkin 
  To: RBASE-L Mailing List 
  Sent: Wednesday, May 12, 2010 2:06 PM
  Subject: [RBASE-L] - Pause Challenge


  Hi everyone,
  I trust everyone is well based on the on-going forum dialogues. Hopefully my 
question is a simple one.

  I want to add a Pause 3 w/ gauge to a macro and am using close to the 
textbook example. My problem
  is that I cannot figure out how to clear the Gauge and move to the next Pause 
3 message.  The "CLS"
  isn't working. Here's the code...

  PAUSE 3 USING 'Backup in Process, Please be Patient' CAPTION '   Backup' +
  ICON windows OPTION Gauge_visible ON +
  |GAUGE_Color RED +
  |Gauge_Interval 10 +
  |MESSAGE_FONT_NAME Verdana +
  |MESSAGE_FONT_SIZE 10 +
  |MESSAGE_FONT_COLOR BLACK
   + |Themename Steel BLUE )
  Disconnect DB
  set multi off
  ....code while DB is disconnected

  Connect DB
  CLS
  PAUSE 3 USING 'Backup Complete, Remove the Memory Stick' caption 'Backup' 
icon info

  I assume my problem is related to the Disconnect / Reconnect of the DB. Pause 
3 with a message
  and no gauge works fine in the above scenario.

  Thanks as always,
  Ed

Reply via email to