>Each record on my database is 3000 bytes. Basically it consists of 100
>smaller records bunched up.
>When using a tool like insider to check the record size, it is 3000
>In my code when I access the row, I cast it to a CharPtr.
>When I do StrLen of this I get only 500.
>Should I be casting this to a CharPtr?? All I want to do is search for a
>delimitor and chop up the record

I don't know if what I say makes any sense to you...
Why do you want to keep a fixed bytes (3000) in each record. I learn pack, unpack from 
the sample
and do it that way when I work with database. The delimitor is '\0' (nullChr).
What is the structure of your record?
If StrLen() gives you 500, casting to CharPtr would end up give you the same thing.

tnn

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

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