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
Lecturer http://www.hig.se/~ardiri/
University-College i G�vle mailto:[EMAIL PROTECTED]
SE 801 76 G�vle SWEDEN
Tel: +46 26 64 87 38 Fax: +46 26 64 87 88
Mob: +46 70 352 8192 A/H: +46 26 10 16 11