Alastair,
Prior to NextRow (and for myself, prior to CloseWindow), add
IF (ISTAT('Form_Dirty_Flag') = 1) THEN
SaveRow
EndIf
Ben Petersen
On 13 Feb 2003, at 18:25, Alastair Burr wrote:
> I am getting the following effect:
>
> If I create a push-button on a form and set it to be pre-defined with
> an action "Next row" when the button is pushed to form goes directly
> to the next row.
>
> However, if I use the command NEXTROW in an EEP from a push-button
> when the form is run I get the message: "Do you want to save the
> changes?" even though no changes have been made on the form.
>
> There are no editable fields but I have tried making a both a field
> and a variable editable but with no change in the behaviour. I have
> also tried adding the command RESETROW to the EEP but, again, no
> change. Likewise, using EDIT/BROWSE USING makes no difference.
>
> Strangely, I have another button which runs the same EEP which selects
> PREVROW as the last command that works as expected without the
> message.
>
> Does anybody know of a way to solve this?
>
> Thanks in advance,
> Regards,
> Alastair.
>
> ----------------------------------
> A D B Burr,
> St. Albans, UK.
> ----------------------------------
> [EMAIL PROTECTED]
> ----------------------------------
>