What is it you don't like about DmQueryRecord?
As long as you imediatly use the record before doing other database 
functions you should not have any problem.

I usualy copy the record into a buffer and use the buffer.

Some think like this:

memhRecordChunk = DmQueryRecord(gdbrDictionaryDbRef, uintIndex);
if (memhRecordChunk == 0)
   return(false);
strpTmpWordRec = (Char *)MemHandleLock(memhRecordChunk);
StrCopy(strpWord,strpTmpWordRec);
MemHandleUnlock(memhRecordChunk);

Then I use the buffer (strpWord in that case) to work with.
That way I don't have any problem with the record not been in the db cache 
anymore.

"Dmitry Grinberg" <[EMAIL PROTECTED]> a écrit dans le message de news: 
[EMAIL PROTECTED]
> pretty much replace all calls to dmqueryrecord with dmgetrecord. on E2
> and preceding nvfs devices it will save you a LOT of headache


-- 
Regis St-Gelais
www.laubrass.com 



-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to