>Hi there.
>
>I'm trying to build a small application but i can't get over this problem. I've build a form to manipulate client records with Form Wizard. One of the controls is a edit box that shows a field value from another table. All works fine until the user decide not to save the record and clicks over the "Revert" button. At this time the old value in the edit box remains there like a ghost. Can anyone tell-me what's the problem here ???
>
>Thanks for the time
the form wizard doesn't revert multiple tables. you'll need to tell it what to do in addition to it's normal functions...
in revert/edit button click method
if this.lEditMode && in edit mode - must be reverting
=tablerevert(.t.,'secondtable')
reverteditbutton::click
endif
your code will be more detailed, but this should get you moving in the right direction....