Changed database to use date and enntrynum as primary keys, instead of _ID. Fixed bad string formatting in createTableIfNotExisting. Now need to use update instead of insert for addItem.
Checkin work