Re: Howto: Proper sequence of calls to iterate thru .pdb records?

2006-12-05 Thread Lynn Allan
Thanks I should use UInt16 for the type of the rec iterator. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Howto: Proper sequence of calls to iterate thru .pdb records?

2006-11-30 Thread Jerome Chapdelaine
The only thing I would check is if you have around 32k records, and your CW is set for 16bit integers, then your loop counter 'rec' will probably not behave correctly when you get to the 32k'th record. Jerome Lynn Allan wrote: alert comment=newbie using CW9.3 / I've got a 4mb .pdb file

Howto: Proper sequence of calls to iterate thru .pdb records?

2006-11-29 Thread Lynn Allan
alert comment=newbie using CW9.3 / I've got a 4mb .pdb file comprised of about 31,100+ records. Is the following more or less the proper way to iterate thru them for read-only access? Int32 dbType = 'DATA'; DmOpenRef dbRef = DmOpenDatabaseByTypeCreator(dbType,