Hello! Using DmGetRecord, I am traversing and displaying records.
When I get to the last record and hit my "Next" button I receive an error, which I expect, my question is how to handle this error. I was going to use DmGetLastError to check for dmErrIndexOutOfRange but I read "In many cases, you can call DmGetLastErr upon receiving this value and receive a more descriptive error code. Note that on releases prior to Palm OS release 3.5, many data manager functions display a fatal error message using the ErrFatalDisplayIf macro if certain error conditions are true. Because the Palm OS ROMs are usually shipped with error checking set to partial, you receive the fatal error message. " This seems pretty common, do I need to code for which OS version the user has and base my error checking on that? It seems more complicated than need be. Ed. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
