> So, it's all about conduit (to make sure uniqueIDs are preserved) and
> that's on me. Some strange situations in app runtime (before any crash or
> DB loading) when DmFindRecordByID might fail to find record created in
> same session are not possible?!

As far as I know, DmFindRecordByID shouldn't fail when passed an existing
unique ID in an existing record database. Still, it's always good to code
defensively and check, even if you don't think it'll ever happen. You can
make such checks conditionally compiled, so they don't incur a performance
penalty in a production version of you application, but aid in debugging.
The operating system itself is full of such code, and that's why we have
debug ROMs.



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to