>>With table buffering, I've been using GETNEXTMODIFIED in the Lostfocus of objects to enable save/revert buttons. It works perfectly, but recently a user complained that she'd like to have the buttons enabled before leaving the first object edited on a page/form.
>>
>>I've tried Interactivechange in the past, but it doesn't work for this. Any easy way to do what I'd like to?
>
>I use InteractiveChange() for that without problem (so far). What were your problem?
The Getnextmodifed doesn't seem to register the edit from that event.
if Getnextmodified(0) > 0
thisform.savecmd.enabled = .T.
thisform.refresh
endif
Works fine on Lostfocus, but no button enable in Interactivechange.
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.