Separate ODBEditor function from CEDocument class