I understand the problems better now:

1) The search function is invalid with databases that large.

2) The database I was given to do this project with IS packed. Although I'm not 
sure the format or how to unpack it. It would seem that /30 would delimete each 
record.

I've seen examples of how to unpack packed records, but the method doesn't make 
any sense with the format of the records I have.

The method I've seen is:

char *s = PackedRecord->key;
UnpackedRecord->prodno = s;
s += StrLen(s) + 1;
UnpackedRecord->desc = s;
s += StrLen(s) + 1;
UpackedRecord->retail = s;
etc. etc.

Why this makes no sense at all is that PackedRecord->Key equals something like:

'2938012/30AUTO_ADD/30100.20/30' etc.

So I don't see how the above method of unpacking will turn that long 
concatenated string into a bunch of indivdual, accurately un-delimeted records.

PBMake was the program used to create the database, so that could be a clue.

I am still lost, and I'm hoping I can get an extension, because I didn't have 
all the correct info going into this and it has taken a long time to look 
through the chaos and find out what is under the very large and vague problem.

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

Reply via email to