I am trying to create a form to log complaints from the public. We frequently receive complaints from the same people over and over. Instead of duplicating data about the complainer I have decided to make a table for just complainer contact info and a table for complaint details tied to each other by an autonumber complianerID. My goal is to be able to enter the complainers phone number into the complaint form and have it autofill all of the contact info if the phone number matches a record on the complainer table and otherwise allow you to create a new record by filling in the contact info feilds.
I have searched all over the internet and have not been able to find a solution. First I treid a subform and couldn't get it to do what I wanted and then I treid a combo box on the main form with a NotInList event opening the Complianer form. But once the complainer form is saved and closed I can't figure out how to get the main form to recognize the new number as an existing one. Any help would be appreciated. Thank you.
I have searched all over the internet and have not been able to find a solution. First I treid a subform and couldn't get it to do what I wanted and then I treid a combo box on the main form with a NotInList event opening the Complianer form. But once the complainer form is saved and closed I can't figure out how to get the main form to recognize the new number as an existing one. Any help would be appreciated. Thank you.