After reading through the archives, I'm really not clear on this.  If I 
want to write a function that checks every record in the database to see 
(for instance) what the maximum value is for one of the fields, what's the 
best method to cycle through all *non-deleted* records?  Is it safe to use:

   UInt recordCount = DmNumRecords(StationDB);
   for (i=0; i<recordCount; i++)  {
      recHand = DmQuery(StationDB, i);
      // handle record
   }

Or will this give me records that shouldn't be accessed (ie, have been 
deleted but not hot-synced)?

   Michael

Reply via email to