> > 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? >>> >>> >>> I am working with the Dabo Biz & DB classes directly. Not using the UI.
> 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 >>> >>> Yes. You are right in the sense whether in Dabo or in VFP, we have to select the record we want (but that's all). I just wanted to say that once a record is selected, append/update/delete for all the related tables is taken care of by the CA without any extra programming (except the sql query, non-update fields etc.). As I understand from you answer, append & update are dealt with by Dabo UI (except delete) in the same way as VFP CA. Pl. reply whether I get it right. If so, I might choose the entire Dabo framework (not just biz & db) for my next project. --- Vineet --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html --- _______________________________________________ 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/CAP5=7orolfkpdno9vuc8yjpev2kuyyeb-fbreg3nmabcwly...@mail.gmail.com
