Hello unfortunately, it seems to be almost the only way. You can simplify your problem on the Palm side however: you could add some special info in your PDB that indicates that the PDB comes from PC side and then split your records top get a basic structure (if you're sure there cannot be more than 64K records). it is possible if you do plan to only load the database in main memory (some big read-only database).
if you need to load it / modify it / backup it / restore it often, you may have to manage a 'multi-record-in-one' scheme. it is not very hard however if you can bound the amount of data per record, then make an addressing scheme as: actual_record_idx = virtual_record/MIN_VIRTUAL_PER_REAL_REC, and two or three functions as GetVirtualRecord/ReleaseVirtualRecord/Read... on recent Palms (OS 5) loading big databases is quite affordable, I fear that OS code is still catastrophic in O(N�) but it runs at 100MHz or 166MHz... rather than 16MHz/33MHz on old Palm Hope it helps. Armel -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
