>Hi,
>
>I have a form where I enter information in a table buffer. It is a parent/child relationship for which I will be doing transactions.
>
>If a record is added it goes into the table buffer. If I want to edit a piece of information on that record I call it to edit.
>
>Now, here comes the question. If I make a change and then decide I don't want that change, what do I do? If I hit tablerevert it takes the record out of the buffer.
>
Your first and easiest option is to commit the record after it is added, but before the changes are made. Then, a TABLEREVERT would only take you back as far the last commit. You would then need special code in your Undo button (or whatever the user clicks when he decides he doesn't want the record at all) to not use a TABLEREVERT< but use a DELETE.
Alternatively, you can rig something up to store initial field values and revert to those values when the use wants to undo changes.
Erik Moore
Clientelligence