<[EMAIL PROTECTED]> wrote
> Does anyone know of a FULL example of how to use
> TblSetLoadDataProcedure?
> I'd like to put a handle (with offset and size) directly from the database
in
> textTableItem, but I am getting an empty column no matter how I try
> to slice it.
>
> ======my current code.
>
> FldSetTextHandle(fld,h);
> *handle = *h; // I tried assign *handle to h also, didn't work :(
> *offset = DBR_TITLE_START;
> *size = DBR_TITLE_SIZE;
>
Well, this is just of the top of my head, but aren't you mixing two
different approaches here? The FldSetTextHandle(fld,h); is assigning the
chunk to the field and then you pass the chunk handle and offset back so
that the table can use it for editing that field. The PPTDG code I've got
doesn't do the FldSetTexthandle and, from memory, it worked ok until I found
out that it really was easier to use a floating edit field.
Chris Tutty
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/