1) Type PROPERTY at the R> and hit F1 or do an index search in the HELP files.
or
Goto rbase.com, support tab and you will find a Property and GetProperty syntax
builder that
shows the commands and will build the actual syntax for you.
or
Go to the "From the Edge" page found on the same support page and type PROPERTY
in the
topic header. You will find white papers written on the subject as well.
2) If you are in field "X" on row 1 and click F8, you never have left field "X"
and the "On Exit" or
"On Entry" EEP's for field X will not fire because you have not left that
field. You have only changed rows.
Think of the field located on a form as where data is displayed, not the actual
data itself. So if you leave the
cursor in field X and move from one row to another, you are not leaving or
entering any new field on the form.
So you would want to use the table's ON ROW ENTRY or ON ROW EXIT EEP's to fire
an eep by hitting
F7 or F8. In reverse, an OR ROW ENTRY or ON ROW EXIT would not fire if you
moved from one field
to another in the same row.
--
Thompson Technology Consultants
LaPorte, IN 46350
219-363-7441
-------------- Original message --------------
From: [EMAIL PROTECTED]
Bob,
That was a great explanation. However, I have 2 brief follow up questions....
1) Where do I get a list of other commands like Property 'component id' refresh
'true'...are there sample commands that I can look at? (For me this is very new
and very cool stuff!)
2) Are you saying that if I use [F7] or [F8], that I am not actually entering a
new field because the field I am leaving is the same field that I am entering,
just different fields??
Mike
-------------- Original message from "Bob Thompson" <[EMAIL PROTECTED]>:
--------------
If the GETPROPERTY is in the On ENTRY eep, you should obtain the value of
record you just entered.
However, I would place a Property 'component id' refresh 'true' in the eep as
well, to insure the form
is refreshed.
To test, place a scrolling region on a form. Locate a DBEdit field and assign
it a component ID.
In the tables ON ROW ENTRY EEP (Not the DBEDIT ON ENTRY) place the GETPROPERTY
command to obtain the DBEDIT current value. Issue a Property refresh if you
are displaying this
value in a static text label or some other object.
As you move from one record to the next, you will see the new value.
Remember, the GETPROPERTY should be in the table's ON ROW ENTRY EEP and NOT the
field's ON ENTRY EEP.
If you place it in the DBEDITs ON ENTRY EEP and then hit F7 or F8, you will not
fire that eep, since you are not leaving
that field, your are changing rows. You are wanting to fire the EEP when you
change rows and not change fields. For
that, the EEP must be in the tables ON ROW ENTRY.
Hope that helps.
-Bob
Thompson Technology Consultants
LaPorte, IN 46350
----- Original Message -----
From: [EMAIL PROTECTED]
To: RBASE-L Mailing List
Sent: Sunday, May 11, 2008 6:44 PM
Subject: [RBASE-L] - Re: Is there such a thing as an "After Entry EEP"?
Hi Bernie,
I will check that. I seem to be having the issue under some circumstances, but
not others. What is the expected effect of an On Entry EEP when you jump from a
field in a row to the same field in a different row? What would be the expected
value obtained by the GETPROPERTY command, the value of the field I am jumping
from or the value I am jumping to?
Mike
-------------- Original message from "Bernard Lis" <[EMAIL PROTECTED]>:
--------------
Hi Mike,
Just a thought, see if you get the result you want by mousing up or down a row
instead of [F7].
Bernie Lis
----- Original Message -----
From: [EMAIL PROTECTED]
To: RBASE-L Mailing List
Sent: Sunday, May 11, 2008 7:12 PM
Subject: [RBASE-L] - Is there such a thing as an "After Entry EEP"?
Hi All,
Assume I have a form with at least 2 rows of data. I am in a field on one of
the rows and I hit [F7] to go up a row, or [F8] to go down a row. I would like
to work with the data that is in the field I am entering, not the data in the
field I just left. From what I can tell, the GETPROPERTY command will retrieve
the value of the field I just left, not the field I am entering. Is there a way
to get the value of the field I am about to enter, (or have already entered)?
If I had to call this something, I would call it an "After Entry EEP". Is there
such a thing?
Mike
No virus found in this incoming message.
Checked by AVG.
Version: 7.5.524 / Virus Database: 269.23.16/1427 - Release Date: 5/11/2008
1:08 PM