pretty much replace all calls to dmqueryrecord with dmgetrecord. on E2 and preceding nvfs devices it will save you a LOT of headache
On 6/17/08, griffariff <[EMAIL PROTECTED]> wrote: > 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/ > -- ---- Best Regards, Dmitry Grinberg (847) 226 9295 -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
