you must use DmStrCopy to write the text to the databse to pack the contents.
Then when you read the record and have a pointer to it you do:
recP+=StrLen(recP)+1
to catch the next string.
DmWrite(RecPtr,StructSize,prefs.String1,String1Len);
> DmWrite(RecPtr,(StructSize + String1Len),prefs.String2,String2Len);
> DmWrite(RecPtr,(StructSize + String1Len +
>String2Len),prefs.String3,String3Len);
> MemHandleUnlock(NewRecordH);
> DmReleaseRecord(DBRef,Location,true);
Ingo Claro Fox
[EMAIL PROTECTED]
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/