Linking a form to an external DB