BINGO! JM.

Bob,

On the form position a button that is labelled exit and calls a block that:
1. Performs the check and runs your code,
2. issues the CLOSEWINDOW command

$COMMAND
SaveClos

>IF (ISTAT('FORM_DIRTY_FLAG')) = 1 THEN
>     DO THIS
>ENDIF
CLOSEWINDOW
RETURN


At 05:25 PM 05/10/2001 -0400, you wrote:
> >>
>I am attempting to use (ISTAT('FORM_DIRTY_FLAG')) fucntion to determine
>whether or not to run a piece of code.
>My code looks like:
>
>EDI USI FORMNAME
>IF (ISTAT('FORM_DIRTY_FLAG')) = 1 THEN
>     DO THIS
>ENDIF
><<
>
>I don't think this will works because no form is active ....
>It can works only within an EEP.
>
>
>J.M. GRATIAS, Logimatique, France

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.

Reply via email to