I understand that but what I am trying to accomplish is being able to open 
multiple apps from one main menu.  What I do now is for each button compile 
startup file for that particular app of which sometimes I might have several 
instances of that app running simultaneously eg I have a button for buying 
merchandise and at any given time be dealing with several vendors.  When I use 
the compiled version it works fine, when using  PROPERTY RBASE_FORM_ACTION and 
run my app I can only get one version to run from the form.  I am just trying 
to only do one compile versus several
Tom Hart




________________________________
 From: A. Razzak Memon <[email protected]>
To: RBASE-L Mailing List <[email protected]> 
Sent: Wednesday, December 4, 2013 8:19 AM
Subject: [RBASE-L] - Re: External form
 

At 08:27 AM 12/4/2013, Tom Hart wrote:

>I have set up my external form the way Razz did by using a form_action
>to connect the database for each icon, but can I or is there a way 2
>or more menu items from the form. Under my old way I would compile my
>action for each item and launch from the icon which meant I could have
>multiple things running from 1 menu. With just connect the database
>for each icon that process stays in front of my menu.


Tom,

Technically, once the database is CONNECTed, it will remain connected
unless a DISCONNECT or EXIT command is used.

However, using the PROPERTY RBASE_FORM_ACTION CheckDBConnection ' '
will assure the database connection.

-- Custom Form Action: CheckDBConnection
IF (CVAL('DATABASE')) <> 'RRBYW18' OR (CVAL('DATABASE')) IS NULL THEN
    CONNECT RRBYW18 IDENTIFIED BY NONE
ENDIF
RETURN

Very Best R:egards,

Razzak.

www.rbase.com
www.facebook.com/rbase
-- 
30+ years of continuous innovation!
15 Years of R:BASE Technologies, Inc. making R:BASE what it is today!
-- 

Reply via email to