Hi
This is not always obvious, but when you said next row you have left it
being
an exit eep to it now being an entry eep. you will need logic on an entry
eep
on field 4 to decern that the nextrow was invoked and the do the skip to
field
1 from the entry eep of field 4

Ben Johansen

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Rommel Relosa
Sent: Friday, April 27, 2001 1:42 PM
To: [EMAIL PROTECTED]
Subject: Form Flow Control


I'm using RBase 6.5++ for Windows and I have a form with 4 editable fields
and three buttons after the fields.

When the user hits the [Enter] key on the 4th field, I want the form to go
to the first field of the next record.

I have an exit procedure on the 4th field with this code:

   IF (LASTKEY(0)) = '[Enter]' THEN
      NEXTROW
      SKIP 4
   ENDIF

It is advancing to the next record, the cursor stays on the 4th field.

I've tried SKIP to [FieldName], SKIP -3, SKIP 1 and SKIP 4.  I can't seem to
make the 1st field the current field after an [Enter] key stroke on the 4th.


Any ideas?


Rommel



Reply via email to