Thanks a bunch. That did it.

Robert McKenzie wrote:

> TblInsertRow does not actually **INCREASE** the number of rows in the table.
> Instead, the last row is tossed into the great bit bucket in the sky as the
> new row is inserted.  In your case, the last row was the "current row" --
> i.e. was selected.  To suppress the error message, call
> TblUnhighlightSelection() prior to inserting the row.
>
> -bob mckenzie, palm pdx
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, November 15, 2001 12:38 PM
> To: Palm Developer Forum
> Subject: Table.c currentRow violated contraint.
>
> Looking for a clue/help on how to find this problem. The error message
> shows up on a gremlin test at about 55000 events. Attempting to scroll
> records.
>
>     for (i =0; i < -linesToScroll;i++)
>     {
>         scrollAmount += TblGetRowHeight(table, 0);
>         TblInsertRow(table, 0);
>     }
>
> Attempted to do a tblInsertRow(table, 0);
>     Error:3238 currentRow violated constraint.
>
> Anyt assistance would be appreciated,
> Kirk Markovitz
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palmos.com/dev/tech/support/forums/
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe, please see 
>http://www.palmos.com/dev/tech/support/forums/


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

Reply via email to