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!
--

--- RBASE-L
================================================
TO POST A MESSAGE TO ALL MEMBERS:
Send a plain text email to [email protected]

(Don't use any of these words as your Subject:
INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH,
REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP)
================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: INTRO
================================================
TO UNSUBSCRIBE: Send a plain text email to [email protected]
In the message SUBJECT, put just one word: UNSUBSCRIBE
================================================
TO SEARCH ARCHIVES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: SEARCH-n
(where n is the number of days). In the message body, place any text to search for.
================================================


Reply via email to