import a table into a form