G'day Victor,
Here's a code block of mine.
Dennis informed me that the form dirty flag would prevent
some of the crashes I was getting when trying to save a
form if no data had been edited.
I have an Exit button on the form that calls this block.
$COMMAND
SaveExit
-- Saves row cursor currently in then closes form
-- Created by Tom Grimshaw 04-09-1998
-- Modification history
-- 22-07-2000 tlg added IF for saverow (courtesy Dennis McGrath)
--
IF (ISTAT('FORM_DIRTY_FLAG')) = 1 THEN
SAVEROW
ENDIF
CLOSEWINDOW
RETURN
At 22:02 17/07/02 +1000, you wrote:
>This is the first time I have every been asked this question.
>
>Is there is anyway when editing data in a form to auto save and suppress the
>message box with SAVE,DISCARD and CANCEL from coming up. I have look in
>the R:BASE
>manual and there does not appear to be a switch.
>
> Thanks
>
> Victor
>
>
>
>
>
>
>
>================================================
>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/
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
"... the control of impulse -- is the first principle of civilization."--
Will Durant,
Pulitzer Prize winning philosopher, writer and historian
the most needed product in the world can be found at
www.thewaytohappiness.org
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.
================================================
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/