Hi

I'm having problems getting a pointer to a record via DmGetRecord(). I get a
handle to the record, but when I try to lock it down, I get a NULL pointer.
Upon having a look at the attributes for the record before the DmGetRecord
call, I noticed that the busy bit was set. I know I'm not doing something
silly like not releasing the record before the call, or not unlocking a
handle to it that I set somewhere else in my code, and my DB is r/w. However
the docs say that a nonmovable chunk has a lock count. Could it be that the
chunk wherein the record lies is nonmovable. My database is large, 1.7meg
for a 2meg device. Each record is almost 64k, and I have less than 85k
memory left. Maybe the memory manager has regarded the record's chunk as
unmovable, as there is very little space left to move the chunk, to say
resize it, or something else.

Regards
Garth Watkins




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

Reply via email to