On Dec 29, 2006, at 3:35 PM, johnf wrote:
> A couple of questions came up during one of my promoting of Dabo
> sessions.
>
> In VFP you create a cursor make changes to the cursor and then
> rollback some
> of the changes by using Tablerevert(.f.). Does Dabo do this
> currently?
We don't use TABLEREVERT(.F.) to revert a row; instead, we use cancel
(). The equivalent to TABLEREVERT(.T.) is cancelAll().
> With a Dabo cursor is there oldval() and curval() ?
The equivalent to OLDVAL() is kept in a memento object for each row.
We don't have a way to access that from the bizobj because there has
never been a use case for it. It is used internally to figure out
just what has changed in a record, in order to create the appropriate
SQL Update command.
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev