Greetings,

Kind of a beginner question here...

I have to find records in a database based on two character fields in the record. In other words these two fields together constitute a primary key. Is my only choice to iterate through the entire database? Something like this?

for (int i = 0; i < DmNumRecords(); i++) {
   memHandle =   DmGetRecord(dmRef);
   // Evaluate the fields
}

I see the function DmFindRecordByID(...) but I don't understand what the Unique ID value is.

Thanks,

Dana


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

Reply via email to