G'day Rob,
Set an eep to run the following code and call it from a button
labelled Exit.
IF (ISTAT('FORM_DIRTY_FLAG')) = 1 THEN
--Form altered code
ENDIF
CLOSEWINDOW
RETURN
will do it for you.
At 03:06 AM 08/09/2001 -0400, you wrote:
>Is there an Rbase environment variable that can be checked from within an .EEP
>that can tell me if the form has received any updates? (R:base 6.5+ Build
>1,839)
>
>I found myself in a "catch-22" when trying to implement a simple routine
>to track
>who was the last logged-in user of the database who performed an "update"
>of a row
>thru a form.
>
>The customer wanted to find the user(s) who were not following the correct
>data-entry
>procedure. However, after "they" exited the form I was setting "them" to
>be the last user
>(thus circumventing the whole routine for checking!).
>
>Ideally, once the form is invoked, it should be able to be viewed, and as
>long as no column
>is updated (via the keyboard/mouse) the previously listed user in that row
>should remain untouched.
>If the user should happen to perform any keyboard/mouse update on a
>column/radio-button/chkbox, etc...
>the flag can be checked in thie .EEP and determine if the currently logged
>in user should be "updated"
>in the row.
>
>TIA
>
>Rob Vincent
>R.A.V. Enteprises
>Dearborn Heights, Michigan
>
Warmest regards,
Tom Grimshaw
coy: Just For You Software
tel: 612 9552 3311
fax: 612 9566 2164
mobile: 0414 675 903
post: PO Box 470 Glebe NSW 2037 Australia
street: 3/66 Wentworth Park Rd Glebe NSW 2037
email: [EMAIL PROTECTED]
web: www.just4usoftware.com.au
This email and any files transmitted with it are confidential to the
intended recipient and may be privileged. If you have received this email
inadvertently or you are not the intended recipient, you may not
disseminate, distribute, copy or in any way rely on it. Further, you should
notify the sender immediately and delete the email from your computer.
Whilst we have taken precautions to alert us to the presence of computer
viruses, we cannot guarantee that this email and any files transmitted with
it are free from such viruses.