On Feb 15, 2012, at 4:19 AM, Vineet Deodhar wrote:
> Agreed that append & update are buffered.
> But a single save() call would not be sufficient to save them at single shot
> As we all know,
> -- For handling the save of 'appended' records, we need to call new() first.
> (no need for seek() & setFieldVal() )
>
> -- For handling the save of 'updated' records, seek() & setFieldVal() are
> required (of course).
>
> -- For delete, seek() & delete() are required.
>
> In vfp CA, no such extra work is necessary.
Are you only working with the Dabo cursor class directly? Or are you
using the UI and bizobj, too?
If you're using the UI, whether in Dabo or VFP, you click on a grid row
or navigate with buttons to get to the record you want. Then you modify the
values as needed, and click the Save button to save. There is no difference at
all, except for the delete behavior mentioned earlier.
I'm curious as to how you are able to modify specific fields of
specific records in the VFP CA without somehow selecting the correct record,
modifying the value, and calling TABLEUPDATE() or its equivalent.
-- Ed Leafe
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message:
http://leafe.com/archives/byMID/[email protected]