--- "Edward P. Ross" <[EMAIL PROTECTED]> wrote:
> 
> 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.

Why not use 

  if ( i<DmNumRecords(dbP) )
    handle = DmGetRecord(dbP, i);

then you don't have to worry about getting a fatal error when the index
is too big.


__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to