Thanks Joe,

Seems I always figure it out about 2 seconds after I hit the send button.

Ed.

Joe wrote:

> --- "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/



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

Reply via email to