It looks like dbpSaveEdits isn't updating the $RecCount variable. This will be fixed this in the next update. In the mean time, you can work around the problem by calling dbpLast after saving the record. For example: