Very interesting thread and response...
On the face of it the actions from pre-defined EEPs are obvious.
Many long-term users will know what they do without thinking about it.
And yet could anyone expect newer users in particular to know whether, for
example, Next Row also saves the current row before moving on?
Maybe the descriptions could be expanded rather than - even in addition to -
creating any other documentation:
Save Current Row then Move to Next Row
or should it be:
Discard Current Row Changes then Move to Next Row
Do you know - I don't know now that I've thought about it. I presume the row
is saved first but I will have to go and check now there is doubt in my
mind. To be fair to myself I don't often use the pre-defined EEPs but I'm
surprised that I have doubt about some of the actions.
Thanks Lin & Razzak for question and answer,
Regards,
Alastair.
----- Original Message -----
From: "A. Razzak Memon" <[EMAIL PROTECTED]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Monday, March 17, 2008 2:41 AM
Subject: [RBASE-L] - Re: documenting EEPs
At 08:27 AM 3/16/2008, Lin MacDonald wrote:
Razzak;
That's great. And, I found a 'left-over' eep that should have been
removed that way!!
But what I was hoping to be able to see was even more basic than that.
I wanted to see what the commands were behind the "Predefined" EEps
that you could use. Is that possible somehow?
Lin,
Hmmm... we never had a request to document the action behind any
Predefined EEPs. This might be something valuable to document the
form.
You may submit an enhancement request for R:BASE 9.0 for Windows.
http://www.rbase.com/rbg9rdcc/
On the other hand, you can dynamically assign/change the Predefined
EEP action using the following PROPERTY command:
Syntax:
PROPERTY <BuutonCompID> EEPNum nn
Where "nn" is the internally assigned ID for Predefined action.
. Add Row (0)
. Add Row and Exit (1)
. Delete Row (2)
. Discard Row (3)
. Discard Row and Exit (4)
. Duplicate Row (5)
. Exit (6)
. Next Row (7)
. Next Table (8)
. Previous Row (9)
. Previous Table (10)
. Save Row (11)
. Last Row (12)
. First Row (13)
. Save Row and Exit (14)
. Refresh Current Table (15)
Let's say you would like to assign/change the Predefined Action for
'Test Button' with Component ID 'CompID_PB' to 'Discard Row and Exit'.
You would use the following PROPERTY command:
-- Example 01
PROPERTY CompID_PB EEP ' '
PROPERTY CompID EEPNum 4
RETURN
The first PROPERTY command tells the form not to use Custom Embedded
EEP. The second PROPERTY command assigns 'Discard Row and Exit' as
the Predefined Action for Push Button.
Let's say you wish to use the External EEP named 'MyCustomEEP.EEP'
as the Custom External file. You would use the following command:
-- Example 02
PROPERTY CompID_PB EEPNum -1
PROPERTY CompID_PB EEP 'MyCustomEEP.EEP'
RETURN
The first PROPERTY command tells the form that you'll be using Custom
(External) file. The second PROPERTY command defines the actual name
of external EEP.
To use Stored Procedure (if defined in the same database) as an EEP,
use the following PROPERTY command:
-- Example 03
PROPERTY <ComponentID> EEP ' '
PROPERTY <ComponentID> EEPNum -2
PROPERTY <ComponentID> EEP 'StoredProcedureName'
RETURN
To use the Built-In Custom Form Action as an EEP, use the following
command:
-- Example 04
PROPERTY <ComponentID> EEP ' '
PROPERTY <ComponentID> EEPNum -3
PROPERTY <ComponentID> EEP 'CustomFormActionCommandName'
RETURN
Very Best R:egards,
Razzak.
--
No virus found in this incoming message.
Checked by AVG. Version: 7.5.519 / Virus Database: 269.21.7/1330 - Release
Date: 15/03/2008 14:36
--- 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.
================================================