Are you setting the rowId using TblSetRowID()? I don't think row IDs have a default value other than 0.

Dana

Salli wrote:

I have a table with 2 columns.  I am trying to load the data into my table
and I'm using customTableItem as I don't want the columns to be editable.

In my database I have 2 records:

col1    col2
A        B
C        D

When I load my data into my table I get:
A        B
A        B

For some reason my CustomDraw function only seems to be pulling the first
record from the db.

I am using:
itemNumber = TblGetRowID(table,row);
in my CustomDraw function in order to get the rowID, but it always comes
back as 0

Can anyone point me in the right direction.  I'm obviously missing
something, just not sure what!!!

Thank you for all your help, as always!

Salli







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

Reply via email to