Thanks for the help from eveyone but i just ended up importing all the new tables queries forms and reports in to an older, stable version of the database. Still don't know what was causing the error because everything works fine in the new combined version. Maybe some weird corruption issue.