Johnathan Smith wrote:
> Can someone please tell me why my table is not getting
> displayed?
>
[source code]
This is all great, but I don't see that you've registered a
callback to load your data into the table.
You need to use TblSetDataLoadProcedure() to do this and then
write the callback function.
As in:
TblSetLoadDataProcedure(MyTable,Column,MyTableLoadProc);
And then something like:
static Err MyTableLoadProc(void *table,Int16 row,Int16 column, Boolean
editable,MemHandle *dataH,Int16 *dataOffset, Int16 *dataSize, FieldTy
pe *field)
{
/*Manipulate your table handles and DB records as you need in here */
}
This is discussed in most Palm programming books like Lonnon Foster's
PalmOS Programming Bible as well as on pages 400-410 of the API docs.
'dillo
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/