Hi all,


Caution for those who use SKIP 0 :
I discovered that when a EEP executed at Entry/Exit a field contain SKIP 0
(to refresh focus to that field when returning to the form),
this enforce reinitialisation of the row and make execute also Entry Row
EEP (if any).

Example :

-- ExitField EEP
-- This EEP is run at exit field level. If user press F12, command SKIP 0
is run
SET error var verr
SET var vkey TEXT = NULL
SET var vTEXT TEXT = NULL
SET var wnomcol TEXT = NULL
SET var wnomcol TEXT = .#Form_ColumnName
SET var vkey = (LASTKEY(0))
IF vkey = '[F12]' THEN
   SKIP 0
ENDIF
RETURN


-- EROW EEP
-- This EEP is run at Enter Row level. It is supposed to run only when
entering a new row
-- But it is run after ExitField EEP, before returning to the form.
SET error var verr
BEEP
PAUSE 2 USING 'Entr�e EROW'
RETURN


Same problem with SKIP TO CurrentFieldName.

No problem with SKIP 1, SKIP -1, SKIP TO OtherFieldname ...

Using RBW6.5++ and W98SE.

This bug has been reported to RDCC.

Best regards to all, and have nice holidays (if any ...)


J.M. GRATIAS, Logimatique, France

Reply via email to