1) The goto statement is useful for 'code optimization' (reducing byte size of .c source files). X amount of returns incase of errors means having to, for example, -reset draw state before return -close and/or release any number of handles/ptrs -close open files/ filestreams/databases - etc., etc. and so on - before each return statement
2)if hotsync's are infrequent, for instance once a week, or month or year, then the backlog of files that have dmRecAttrDirty set can cause the synchronisation process to take hours instead of minutes. Still have not found a solution, the bit is set even when DmReleaseRecord(GLB->DBRF, index, 0) is used. On nvfs devices databases are automatically backed up to the dbcache on database close, database create, a call to DmSetDatabaseInfo(), or upon device sleep (open databases only). (See http://www.accessdevnet.com/docs/palmos/PalmOSReference/DataAndResourceManager.html#1053148) Is there a way of clearing the dmRecAttrDirty ?? many thanks and regards Darren -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
