At 12:08 PM 9/27/2002 +0100,  Ben Petersen wrote:

>Dr R,
>
> > You can also take advantage of (LASTKEY(0)) function to achieve
> > the same goal.
>
>How would you do that?



Very Simple!

What version of R:BASE are you using?

If you are using The Glorious R:BASE 2000 (ver 6.5++) for Windows,
Build:1.851xRT03 or higher, such as Build:1.858xRT03, you can
capture the CORRECT value of (LASTKEY(0)) as following:

A very simple example:

01. Create a sample command file as following:

-- CheckLastKey.RMD

CONNECT Concomp IDENTIFIED BY None
EDIT USING Employee
-- while the form is up, press '[Esc]' key to get out .
SET VARIABLE vLastkey = (LASTKEY(0))

02. RUN CheckLastKey.RMD

03. At the might R> prompt:

     SHOW VAR

      The value of vLastKey will be returned as 'Esc]'

04. You can use that technique in a command file to capture
     the value of (LASTKEY(0)) and then take it from there ...

Enjoy, if you are using the Glorious R:BASE 2000 (ver 6.5++)!

Very Best Regards,

Razzak.


================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: INTRO rbase-l
================================================
TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: UNSUBSCRIBE rbase-l
================================================
TO SEARCH ARCHIVES:
http://www.mail-archive.com/rbase-l%40sonetmail.com/

Reply via email to