On Wednesday 24 September 2008 01:16:19 pm Paul McNett wrote:
> Ed Leafe wrote:
> > On Sep 24, 2008, at 2:43 PM, Paul McNett wrote:
> >> On one hand, so much of dCursor and dBizobj rely on the PK not
> >> changing.
> >> OTOH, we could probably hook into setFieldVal() so that, if it is
> >> the PK
> >> value changing, we can re-sync the _newRecords dict with the new pk
> >> value.
> >
> >     Of course, now you're adding lots and lots of unnecessary calls to
> > catch the rare instance where this happens.
>
> Simply comparing field_name to self.KeyField won't add any significant
> overhead.
>
> I say, the simplest solution that can possibly work!
>
> Paul

How using the '-1' (or some other flag) for the new record PK?  


-- 
John Fabiani


_______________________________________________
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]

Reply via email to