So does it also follow that you need to keep "refreshing" your open 
database references by calling DmSyncDatabase prior to attaching a 
record pointer to it? We are still using code as generated by the 
ETS Inc. DaVinci database design tool (it is not around anymore) 
and it has a function called GetRecord that you pass a DmOpenRef, 
the record number and a void pointer which you pass as a reference 
to an instance of the database's record structure. The GetRecord 
function then unpacks the record with a couple nested calls to 
extract the data based on the appropriate structure. You end up with a 
structure populated with the record's info based on the 
index you provided.

I have observed during debugging that some of the pointers within 
the GetRecord function lose track of what they are supposed to be 
pointing to. I think I will try calling DmSyncDatabase prior to 
these GetRecord calls to see if that helps. Thanks for the tip.
-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to