>On Sun, 27 Jun 1999, Mandar Joshi wrote:
>> I am not deleting / removing any records from palm application.
>> My conduit calls SyncPurgeAllRecs(dbHandle) and fills the fresh data.
>> I just do the job of reading the records from the palm database.
>>
>> >> Can somebody throw some light on why this fails when nIterator reaches
12
>> >>
>> >>     nNumRec = DmNumRecords(AssessmentQuestionDB); // there are 90
records
>> in
>> >> this database
>> >>
>> >>      for(nIterator = 0; nIterator < nNumRec; nIterator++)
>> >>      {
>> >>       recordHandle = DmGetRecord(AssessmentQuestionDB, nIterator);
>> >>       recText = MemHandleLock(recordHandle);
>> >>       MemHandleUnlock(recordHandle);
>> >>       DmReleaseRecord(AssessmentQuestionDB, nIterator, false);
>> >>      }
>
>  what message do you get with the error? does fail mean FATAL ERROR
>  or does it mean it only processes 12 records?
>
>  cheers.
>
>az.
>--
>Aaron Ardiri



Yes it shows FATAL ERROR dialog box, and the message is
'DataMgr.c, Line 4414, Err Getting rec'

Mandar

Reply via email to