I've emptied the DB and now that it's empty (but still same fields etc.) I can successfully add items to it.
????
==========
Edit 2009 12 07
I tried looking at my normal DB and I saw about 95 items which didn't even had an item creation date. Strange they were like empty items. I suspect they were "imported" from outlook yesterday when I tried importing stuff from there.
Now, I really don't know what to do next.
My DB is like 165mb so I definitely won't send it over.... Plus, there is some confidential stuff in there...
File>>Properties: note the number of items and field values
File>>close
Tools>>Database management>>Compact
Select your file. JET will perform its own repair. [edit] 9 times out of 10 (*), JET can repair without any data loss. [/edit]
File>>Open. Open your file
Tools>>Database management>>Repair. IQ will do its own housekeeping
File>>Properties again: note the number of items and field values.
Compare with step 2 above.
If they differ, this means that JET had internal corruption and restored what it could. Keep your backup (step 1)in a safe place, it could be helpful in eventually retrieving lost items. Daily backups and Dropbox ones could also be useful
Is the problem solved ?
(*) I've seen very few data corruption when using IQ. The database stucture is relatively simple and this does not cause any significant stress on JET. In my 16+ years of working with JET (mostly MS Access apps), corruption does occur at times, generally due to PC or network problems. sometimes, due to overly complex relational data. A few times, it could not be traced to anything other than a JET issue. I recall only 1 case which actually caused data loss.
I discovered that the backup I made on Friday was ok. So I'll 1st try reverting to a previous version in which copying works and, 2nd, copy the items from the corrupt DB to the one that works.
Then if that works, I'll try to see if it was JET corruption or what.
Yes, 0.9.25 uses a more recent version of controls. You can have different versions in separate folder and everything will work fine, as the database format has not changed, but trying to use the same folder will not work.
I'll look at the XML copy/paste first thing in the morning.
One important note however if using a previous version: Do not create calendar events in any previous versions.
You can have different versions in separate folder and everything will work fine, as the database format has not changed, but trying to use the same folder will not work.
[/quote]
Yup, that's what I did the whole week... But somehow something went really wrong in the last few hours. Maybe I just need some sleep.
[quote=Pierre_Admin]
I'll look at the XML copy/paste first thing in the morning.
One important note however if using a previous version: Do not create calendar events in any previous versions.
[/quote]
OK...
I think I'll wait for proper XML copy paste before doing anything else. All other options seem potentially time consuming judging from the progress I made in the last 3 hours...
The last item I entered in my DB has the Iditem 96 assigned to it ! This is weird... Unless IQ now starts assigning "unoccupied" values (assigned to now deleted items).
And when I manually create new ones they have values like 123, 124... And I'm normally up to 53807...
Comments
ModVer: 6.0.97.82 Offset: 0008c6ba