On Connect is executed from the R> Whatever you tell RBase to do with the
ON CONNECT is stored in the database. Remember, whatever you put in ON
CONNECT is executed with "every" connection to the DB. Things that you
might want to do only once a day, you would use the ON FIRST CONNECT
variant.
ON CONNECT will also accept the RUN SELECT statement if you want to keep the
code in the database.
When you issue ANY of the ON CONNECT commands, you must use the SAVE
parameter for the effect to survive the session and if you want to change
the ON CONNECT command, you must execute whateve variant with the RESET
parameter (after connecting to the db first) like:
ON BEFORE CONNECT RESET
ON CONNECT RESET
ON FIRST CONNECT RESET
----- Original Message -----
From: "TOM HART" <[email protected]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Friday, February 04, 2011 2:25 PM
Subject: [RBASE-L] - Using on connect
I am wanting to use the 'on connect' but the help has very little examples.
Is
there somewhere else to look or somebody have examples, like where do I
put the
command, etc
Tom Hart