Razzak,

Since they start up using the DAT file below, would I have to do it
Programmatically as mentioned in #2?

-- clear scratch files
SET VAR vfolderandfiles TEXT = NULL
SET VAR vfolderandfiles = ((CVAL('SCRATCH'))+'\*.$$$')
SET ERROR MESSAGE 2262 OFF
SET ERROR MESSAGE 2263 OFF
SET ERROR MESSAGE 2926 OFF
DELETE &vfolderandfiles
SET ERROR MESSAGE 2926 ON
SET ERROR MESSAGE 2263 ON
SET ERROR MESSAGE 2262 ON
CLEAR VARIABLE vfolderandfiles

-- connect to database
CONNECT Labor
-- set timeout limit
SET TIMEOUT 60
CLS
-- use proper form
EDIT USING KayParkShopMenu
DISCONNECT
EXIT
RETURN

James Belisle
 
Making Information Systems People Friendly Since 1990
 
 
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of A.
Razzak Memon
Sent: Thursday, April 12, 2012 4:56 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: allow only one session

At 05:46 PM 4/12/2012, Jim Belisle wrote:

>On one of our machines out in the shop, I would like to limit the user
>to only be able to open one session of RBASE.
>
>If a session is open (they have a tendency not to look for minimized
>programs) I would like to either have the minimized session to come up
>(that would be nice) or at least have a box stating a session is open.
>
>Is there code to do this?


Here's how:

01. Using the R:BASE Setting options:

     Database Explorer | Main Menu | Settings | Startup Option ...

     [ ] Check the option for "Allow Only One Instance of R:BASE"

02. Programmatically, using the "RInstanceCount" Plugin.

     For complete details and examples, refer to R:BASE Plugin Power
Pack.

     http://www.rbase.com/products/pluginpowerpack91/

Very Best R:egards,

Razzak.


Reply via email to