Marc
that is exactly the same problem I'm working at.
Actually in Startprocedure I use code like this, an idea coming from Adrian
Hüssy. (hi Adrian!)
SET ERROR VAR vtesting
SET MULTI OFF -- SingelModus
SET MESSAGE OFF
SET ERR MESSAGE OFF
SET AUTOSYNC ON
CONNECT &vgDB -- <<<<-----DB connect inSingelModus
SET VAR vtest2 INTEGER =.vtesting
IF vTest2 = 0 THEN -- ok, connected in Singelmode
AUTOCHK -- AUTOCHK jetzt ausführen
SET VAR vtest2 INTEGER =.vtesting
IF vTest2 = 0 THEN
Pause 2 USI 'Automatically tested --> ok'
DISC
ELSE -- Connected, but Problems with
AUTOCHEK
DISC
CD .vgAppDir
REFF Notfallplan.RFF -- ext Form with REPAIR-OPTIONS
EXIT
ENDIF
ELSE
After Start, I use an ext Form with TIMER-EEP to check if all is ok.
Other better solutions would be appreciated.
Regards
Armin
From: [email protected]
To: [email protected]
Subject: [RBASE-L] - Re: Form Timer and Hourly backups
Date: Thu, 28 Jul 2011 16:48:53 -0500
Thanks for the offer Jan
I am trying to rethink how I do things and think this through.
One problem is we count the number of connections to bypass some of our start
up routine like Autochk’s if someone is connected to the DB, if we use an
External main menu form and the user is not connected to the db we would have
to change that code logic.
Marc
From: jan johansen
Sent: Thursday, July 28, 2011 4:22 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: Form Timer and Hourly backups
Marc,
An External Form File is a form that is not-attached to a table.
This allows you to have a form that is not connected to the database
unless you want it to be which is ideal for a main menu.
It is very easy to convert your main menu form to an external form.
If you need the steps let me know.
Jan
-----Original Message-----
From: "MDRD" <[email protected]>
To: [email protected] (RBASE-L Mailing List)
Date: Thu, 28 Jul 2011 15:54:40 -0500
Subject: [RBASE-L] - Re: Form Timer and Hourly backups
Mike
This is my main menu form that is attached to a dummy table, I am not sure I
completely follow but I will look into it.
Thanks
Marc
-----Original Message-----
From: Mike Byerley
Sent: Thursday, July 28, 2011 1:44 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: Form Timer and Hourly backups
Use an External Form....
----- Original Message -----
From: "MDRD" <[email protected]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Thursday, July 28, 2011 2:19 PM
Subject: [RBASE-L] - Form Timer and Hourly backups
I am working on using the Form Timer to do hourly backups. I popup a Pause
3 with a gauge, Authochk, then Unload All and I noticed that if I am in a
form it stops me from using the form which is OK. Will this cause a problem
if I am running some big command block with several Updates or printing
monthly statements when this fires?
Thanks
Marc