(Using VFP 5.0)
I have a form (using optimist row buffering) that allows the user to edit records and then Save (using tableupdate) or Cancel (using tablerevert). That all works fine.
To add a record while in the same form, the user presses an ADD button which appends a record, which is then edited.
However, after adding, if the user changes his mind and cancels, we are left with a blank record in the database. It can of course be deleted, and then reused later on, but this seems kind of messy.
Is there a better, more elegant way of adding a new record? Any ideas greatly appreciated.
Thanks much.
I have a form (using optimist row buffering) that allows the user to edit records and then Save (using tableupdate) or Cancel (using tablerevert). That all works fine.
To add a record while in the same form, the user presses an ADD button which appends a record, which is then edited.
However, after adding, if the user changes his mind and cancels, we are left with a blank record in the database. It can of course be deleted, and then reused later on, but this seems kind of messy.
Is there a better, more elegant way of adding a new record? Any ideas greatly appreciated.
Thanks much.